mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-01-31 07:12:17 +00:00
Fix an assertion in Wallet to use the correct type.
This commit is contained in:
parent
a955187e04
commit
6a4d0e866f
@ -386,7 +386,7 @@ public class Wallet implements Serializable {
|
||||
* Call this when we have successfully transmitted the send tx to the network, to update the wallet.
|
||||
*/
|
||||
synchronized void confirmSend(Transaction tx) {
|
||||
assert !pending.containsKey(tx) : "confirmSend called on the same transaction twice";
|
||||
assert !pending.containsKey(tx.getHash()) : "confirmSend called on the same transaction twice";
|
||||
log.info("confirmSend of {}", tx.getHashAsString());
|
||||
// Mark the outputs of the used transcations as spent, so we don't try and spend it again.
|
||||
for (TransactionInput input : tx.inputs) {
|
||||
|
Loading…
Reference in New Issue
Block a user