Minor improvements

This commit is contained in:
Ivan Kuznetsov 2017-09-05 12:26:29 +07:00
parent c748768da2
commit f4ae5168b0
2 changed files with 0 additions and 2 deletions

View File

@ -85,7 +85,6 @@ func (bc *Blockchain) FindUnspentTransactions(address string) []*Transaction {
if out.CanBeUnlockedWith(address) {
unspentTXs = append(unspentTXs, tx)
continue Outputs
}
}

1
cli.go
View File

@ -22,7 +22,6 @@ func (cli *CLI) getBalance(address string) {
defer bc.db.Close()
balance := 0
utxs := bc.FindUnspentTransactions(address)
for _, tx := range utxs {