diff options
author | John Newbery <john@johnnewbery.com> | 2019-03-26 14:56:40 -0400 |
---|---|---|
committer | John Newbery <john@johnnewbery.com> | 2019-04-10 09:19:55 -0400 |
commit | 7a9046e48d0aac35e8e6a3dd315aa98a207bebfe (patch) | |
tree | 8dd5821637fc793f43216f772c226eb3746ce45b /src/pow.cpp | |
parent | 8c022e8ac401f98c73e6ca62b502b40fc83c3e1f (diff) |
[wallet] Refactor CWalletTx::RelayWalletTransaction()
This refactors the CWalletTx::RelayWalletTransaction() function to be
clearer and adds comments. It also makes two minor behavior
changes:
- no longer assert if fBroadcastTransactions is false. Just return false
from the function.
- no longer print the relay message if p2pEnabled is set to false (since
the transaction is not actually relayed).
Diffstat (limited to 'src/pow.cpp')
0 files changed, 0 insertions, 0 deletions