Skip to content

Commit e62d91d

Browse files
committed
remove nondeterministic behavior for coin selection test
1 parent 7e4eed5 commit e62d91d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

rust/src/tx_builder.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4277,6 +4277,13 @@ mod tests {
42774277
CoinSelectionStrategyCIP2::RandomImproveMultiAsset,
42784278
)
42794279
.unwrap();
4280+
4281+
let input_for_cover_change = make_input(10u8, Value::new(&to_bignum(1000)));
4282+
tx_builder.add_input(
4283+
&input_for_cover_change.output.address,
4284+
&input_for_cover_change.input,
4285+
&input_for_cover_change.output.amount);
4286+
42804287
let change_addr = ByronAddress::from_base58(
42814288
"Ae2tdPwUPEZGUEsuMAhvDcy94LKsZxDjCbgaiBBMgYpR8sKf96xJmit7Eho",
42824289
)

0 commit comments

Comments
 (0)