[wallet] Allow limiting the use of internal utxos in TxBuilder

This commit is contained in:
Alekos Filini
2020-08-07 19:40:13 +02:00
parent 85090a28eb
commit 8d9ccf8d0b
8 changed files with 298 additions and 370 deletions

View File

@@ -109,6 +109,7 @@ mod test {
value: 100_000,
script_pubkey: Script::new(),
},
is_internal: false,
},
UTXO {
outpoint: OutPoint::from_str(
@@ -119,6 +120,7 @@ mod test {
value: 200_000,
script_pubkey: Script::new(),
},
is_internal: true,
},
]
}