TransactionBroadcastTest: always compare txId with a txId

This commit is contained in:
Andreas Schildbach 2023-02-09 14:27:36 +01:00
parent 24a94ec981
commit a480bc3281

View file

@ -252,6 +252,6 @@ public class TransactionBroadcastTest extends TestWithPeerGroup {
// Add the wallet to the peer group (simulate initialization). Transactions should be announced.
peerGroup.addWallet(wallet);
// Transaction announced to the first peer. No extra Bloom filter because no change address was needed.
assertEquals(t3.getTxId(), outbound(p1).getHash());
assertEquals(t3.getTxId(), ((Transaction) outbound(p1)).getTxId());
}
}