mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2026-09-10 02:24:36 -05:00
return true if already in mempool
This commit is contained in:
@@ -1732,7 +1732,7 @@ class FullNode:
|
||||
if len(msgs) > 0:
|
||||
response = wallet_protocol.TransactionAck(tx.transaction.name(), True)
|
||||
else:
|
||||
if self.mempool_manager.get_spendbundle(tx.transaction.name) is None:
|
||||
if self.mempool_manager.get_spendbundle(tx.transaction.name()) is None:
|
||||
response = wallet_protocol.TransactionAck(tx.transaction.name(), False)
|
||||
else:
|
||||
response = wallet_protocol.TransactionAck(tx.transaction.name(), True)
|
||||
|
||||
@@ -817,7 +817,7 @@ class TestWalletProtocol:
|
||||
]
|
||||
assert len(msgs) == 1
|
||||
assert msgs[0].message.data == wallet_protocol.TransactionAck(
|
||||
spend_bundle.name(), False
|
||||
spend_bundle.name(), True
|
||||
)
|
||||
|
||||
msgs = [
|
||||
|
||||
Reference in New Issue
Block a user