[signer] Fix error variant

This commit is contained in:
Alekos Filini committed 2021-05-05 16:59:59 +02:00
1 parent b84fd6ea5c
commit 1d628d84b5
1 file changed
+1 -1
+1 -1
View File
@@ -498,7 +498,7 @@ impl ComputeSighash for Segwitv0 {
let witness_utxo = psbt_input
.witness_utxo
.as_ref()
.ok_or(SignerError::MissingNonWitnessUtxo)?;
.ok_or(SignerError::MissingWitnessUtxo)?;
let value = witness_utxo.value;
let script = match psbt_input.witness_script {