Rename ScriptType to KeychainKind
This avoids confusion with the "type of script".
This commit is contained in:
@@ -539,7 +539,7 @@ mod test {
|
||||
value: 100_000,
|
||||
script_pubkey: Script::new(),
|
||||
},
|
||||
script_type: ScriptType::External,
|
||||
keychain: KeychainKind::External,
|
||||
},
|
||||
P2WPKH_WITNESS_SIZE,
|
||||
),
|
||||
@@ -553,7 +553,7 @@ mod test {
|
||||
value: 200_000,
|
||||
script_pubkey: Script::new(),
|
||||
},
|
||||
script_type: ScriptType::Internal,
|
||||
keychain: KeychainKind::Internal,
|
||||
},
|
||||
P2WPKH_WITNESS_SIZE,
|
||||
),
|
||||
@@ -573,7 +573,7 @@ mod test {
|
||||
value: rng.gen_range(0, 200000000),
|
||||
script_pubkey: Script::new(),
|
||||
},
|
||||
script_type: ScriptType::External,
|
||||
keychain: KeychainKind::External,
|
||||
},
|
||||
P2WPKH_WITNESS_SIZE,
|
||||
));
|
||||
@@ -592,7 +592,7 @@ mod test {
|
||||
value: utxos_value,
|
||||
script_pubkey: Script::new(),
|
||||
},
|
||||
script_type: ScriptType::External,
|
||||
keychain: KeychainKind::External,
|
||||
},
|
||||
P2WPKH_WITNESS_SIZE,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user