mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-07-31 12:01:24 +00:00
Fix an assertion in Wallet to use the correct type.
This commit is contained in:
@@ -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.
|
* Call this when we have successfully transmitted the send tx to the network, to update the wallet.
|
||||||
*/
|
*/
|
||||||
synchronized void confirmSend(Transaction tx) {
|
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());
|
log.info("confirmSend of {}", tx.getHashAsString());
|
||||||
// Mark the outputs of the used transcations as spent, so we don't try and spend it again.
|
// Mark the outputs of the used transcations as spent, so we don't try and spend it again.
|
||||||
for (TransactionInput input : tx.inputs) {
|
for (TransactionInput input : tx.inputs) {
|
||||||
|
Reference in New Issue
Block a user