Skip to content

Commit

Permalink
Revert "Merge bitcoin#11738: Fix sendrawtransaction hang when sending…
Browse files Browse the repository at this point in the history
… a tx already in mempool"

This reverts commit e253240.
  • Loading branch information
PastaPastaPasta committed Jan 17, 2020
1 parent c9d771d commit f217217
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/rpc/rawtransaction.cpp
Expand Up @@ -998,10 +998,6 @@ UniValue sendrawtransaction(const JSONRPCRequest& request)
}
} else if (fHaveChain) {
throw JSONRPCError(RPC_TRANSACTION_ALREADY_IN_CHAIN, "transaction already in block chain");
} else {
// Make sure we don't block forever if re-sending
// a transaction already in mempool.
promise.set_value();
}
if(!g_connman)
throw JSONRPCError(RPC_CLIENT_P2P_DISABLED, "Error: Peer-to-peer functionality missing or disabled");
Expand Down

0 comments on commit f217217

Please sign in to comment.