Merge af63a875f5
into ff408351a2
This commit is contained in:
commit
12304d9b8d
|
@ -335,7 +335,7 @@ func handleTx(request []byte, bc *Blockchain) {
|
||||||
}
|
}
|
||||||
|
|
||||||
cbTx := NewCoinbaseTX(miningAddress, "")
|
cbTx := NewCoinbaseTX(miningAddress, "")
|
||||||
txs = append(txs, cbTx)
|
txs = append([]*Transaction{cbTx}, txs...)
|
||||||
|
|
||||||
newBlock := bc.MineBlock(txs)
|
newBlock := bc.MineBlock(txs)
|
||||||
UTXOSet := UTXOSet{bc}
|
UTXOSet := UTXOSet{bc}
|
||||||
|
|
Loading…
Reference in New Issue