Replace UTXO::is_internal with script_type
This means less conversion and logic mapping from bool to ScriptType and back again.
This commit is contained in:
@@ -301,7 +301,7 @@ pub mod test {
|
||||
let utxo = UTXO {
|
||||
txout,
|
||||
outpoint,
|
||||
is_internal: false,
|
||||
script_type: ScriptType::External,
|
||||
};
|
||||
|
||||
tree.set_utxo(&utxo).unwrap();
|
||||
|
||||
Reference in New Issue
Block a user