mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-13 07:28:59 +01:00
Merge pull request #2182 from gavinandresen/addressoracle
Remove IsFromMe() check in CTxMemPool::accept()
This commit is contained in:
@@ -546,7 +546,7 @@ Value sendrawtransaction(const Array& params, bool fHelp)
|
||||
fHave = view.GetCoins(hashTx, existingCoins);
|
||||
if (!fHave) {
|
||||
// push to local node
|
||||
if (!tx.AcceptToMemoryPool())
|
||||
if (!tx.AcceptToMemoryPool(true, false))
|
||||
throw JSONRPCError(RPC_DESERIALIZATION_ERROR, "TX rejected");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user