Skip to content

Commit

Permalink
Merge pull request #104 from KeystoneHQ/fix-eth
Browse files Browse the repository at this point in the history
fix: btc psbt parse legacy address input
  • Loading branch information
soralit authored Sep 25, 2023
2 parents 2b573b7 + f83fba6 commit 7719eab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust/apps/bitcoin/src/transactions/psbt/wrapped_psbt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ impl WrappedPsbt {
if !tx_in.previous_output.txid.eq(&prev_tx.txid()) {
return Err(BitcoinError::InvalidInput);
}
let prevout = unsigned_tx.output.get(tx_in.previous_output.vout as usize);
let prevout = prev_tx.output.get(tx_in.previous_output.vout as usize);
match prevout {
Some(out) => {
value = out.value;
Expand Down

0 comments on commit 7719eab

Please sign in to comment.