|
|
|
@ -1265,7 +1265,7 @@ bool CWalletTx::RelayWalletTransaction()
@@ -1265,7 +1265,7 @@ bool CWalletTx::RelayWalletTransaction()
|
|
|
|
|
assert(pwallet->GetBroadcastTransactions()); |
|
|
|
|
if (!IsCoinBase()) |
|
|
|
|
{ |
|
|
|
|
if (GetDepthInMainChain() == 0 && !isAbandoned()) { |
|
|
|
|
if (GetDepthInMainChain() == 0 && !isAbandoned() && InMempool()) { |
|
|
|
|
LogPrintf("Relaying wtx %s\n", GetHash().ToString()); |
|
|
|
|
RelayTransaction((CTransaction)*this); |
|
|
|
|
return true; |
|
|
|
|