fix pushing to txmempool

This commit is contained in:
2026-05-29 12:49:51 +02:00
parent 91d7bfa4e7
commit 41a154a9fd
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -858,7 +858,7 @@ int main(int argc, char* argv[]) {
*/
// Insert into txmempool
if (!TxMempool_Insert(spendTx)) {
if (TxMempool_Insert(spendTx) < 0) {
printf("failed to add transaction to mempool, transaction rejected\n");
continue;
}