mempool: don't return an error on checktx with the same tx (#6199)

This commit is contained in:
Callum Waters
2021-03-03 21:02:45 +01:00
committed by GitHub
parent 0d0181856b
commit 90fe178b52
3 changed files with 10 additions and 24 deletions
+1 -8
View File
@@ -109,14 +109,7 @@ if [[ $APPEND_TX_CODE != 0 ]]; then
exit 1
fi
echo "... sending tx. expect error"
# second time should get rejected by the mempool (return error and non-zero code)
sendTx $TX true
echo "... sending tx. expect no error"
echo "... sending new tx. expect no error"
# now, TX=01 should pass, with no error
TX=01