mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-13 12:33:42 +02:00
coinselection: use policyasset instead of call to params for pegged_asset
this fixes up the coinselection fuzzing tests where Params() is not available
This commit is contained in:
parent
1cb55cbd9d
commit
c445fe8a8b
1 changed files with 1 additions and 1 deletions
|
|
@ -84,7 +84,7 @@ public:
|
|||
/** ELEMENTS: the value of the output */
|
||||
CAmount value;
|
||||
/** ELEMENTS: the asset of the output */
|
||||
CAsset asset{Params().GetConsensus().pegged_asset};
|
||||
CAsset asset{::policyAsset};
|
||||
/** ELEMENTS: the blinding factor for the value */
|
||||
uint256 bf_value;
|
||||
/** ELEMENTS: the blinding factor for the asset */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue