Skip to content

Commit

Permalink
fix incorrect test assertion, and rm dbg
Browse files Browse the repository at this point in the history
  • Loading branch information
zancas committed Nov 30, 2024
1 parent b5629f7 commit b7a7d97
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions libtonode-tests/tests/concrete.rs
Original file line number Diff line number Diff line change
Expand Up @@ -501,11 +501,11 @@ mod fast {

let proposal = sender.propose_send(transaction_request).await.unwrap();
assert_eq!(proposal.steps().len(), 2usize);
let sent_txids_according_to_broadcast = sender
let _sent_txids_according_to_broadcast = sender
.complete_and_broadcast_stored_proposal()
.await
.unwrap();
let txids = sender
let _txids = sender
.wallet
.transactions()
.read()
Expand All @@ -514,8 +514,6 @@ mod fast {
.keys()
.cloned()
.collect::<Vec<TxId>>();
dbg!(&txids);
dbg!(sent_txids_according_to_broadcast);
assert_eq!(
sender
.wallet
Expand All @@ -526,10 +524,10 @@ mod fast {
.len(),
3usize
);
let val_tranfers = dbg!(sender.sorted_value_transfers(true).await);
let val_transfers = sender.sorted_value_transfers(true).await;
// This fails, as we don't scan sends to tex correctly yet
assert_eq!(
val_tranfers.0[0].recipient_address().unwrap(),
val_transfers[1].recipient_address().unwrap(),
tex_addr_from_first.encode()
);
}
Expand Down

0 comments on commit b7a7d97

Please sign in to comment.