Skip to content

Commit

Permalink
Merge pull request #84 from braydonf/resend-coinbase
Browse files Browse the repository at this point in the history
wallet: do not rebroadcast coinbase transactions
  • Loading branch information
boymanjor authored Mar 4, 2019
2 parents d269313 + 1272b81 commit f0d3b10
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/wallet/wallet.js
Original file line number Diff line number Diff line change
Expand Up @@ -3172,8 +3172,10 @@ class Wallet extends EventEmitter {

const txs = [];

for (const wtx of wtxs)
txs.push(wtx.tx);
for (const wtx of wtxs) {
if (!wtx.tx.isCoinbase())
txs.push(wtx.tx);
}

const sorted = common.sortDeps(txs);

Expand Down

0 comments on commit f0d3b10

Please sign in to comment.