Skip to content

Commit

Permalink
fix address in rust test
Browse files Browse the repository at this point in the history
  • Loading branch information
jp1ac4 committed Jul 13, 2023
1 parent b6a1d04 commit 7a78f00
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/commands/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1203,7 +1203,10 @@ mod tests {
assert_eq!(tx.input.len(), 2);
assert_eq!(tx_prev_outpoints, vec![confirmed_op_1, confirmed_op_2]);
assert_eq!(tx.output.len(), 2);
assert_eq!(tx.output[0].script_pubkey, dummy_addr.script_pubkey());
assert_eq!(
tx.output[0].script_pubkey,
dummy_addr.payload.script_pubkey()
);
assert_eq!(tx.output[0].value, 79_999);

ms.shutdown();
Expand Down

0 comments on commit 7a78f00

Please sign in to comment.