|
|
|
@ -1263,7 +1263,7 @@ bool CWalletTx::RelayWalletTransaction()
@@ -1263,7 +1263,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; |
|
|
|
|