There is a small problem
Panxhang opened this issue · comments
Hang commented
Hi!In the 4th part,If someone transfers money to himself,his account balance will be double。
if out.CanBeUnlockedWith(address) {
unspentTXs = append(unspentTXs, *tx)
}
There is a “break” missing here!This statement is in the blockchain.go。
Thank you very much for your tutorial and please note this little bug~
stoneflying commented
Yes, I just found it