Skip to content

Commit

Permalink
Revise
Browse files Browse the repository at this point in the history
  • Loading branch information
casey committed Nov 26, 2024
1 parent d81a573 commit a563bc5
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions integration_test/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -691,9 +691,12 @@ fn test_send_raw_transaction(cl: &Client) {

let tx = cl.fund_raw_transaction(&buffer, None, None).unwrap();

cl.send_raw_transaction(&tx.hex, None).unwrap_err();
cl.send_raw_transaction(&tx.hex, Some(Amount::from_sat(9))).unwrap_err();
cl.send_raw_transaction(&tx.hex, Some(Amount::from_sat(10))).unwrap();
let signed =
cl.sign_raw_transaction_with_wallet(&tx.hex, None, None).unwrap().transaction().unwrap();

cl.send_raw_transaction(&signed, None).unwrap_err();
cl.send_raw_transaction(&signed, Some(Amount::from_sat(9))).unwrap_err();
cl.send_raw_transaction(&signed, Some(Amount::from_sat(10))).unwrap();
}

fn test_invalidate_block_reconsider_block(cl: &Client) {
Expand Down

0 comments on commit a563bc5

Please sign in to comment.