This commit is contained in:
daleboy 2021-06-29 03:57:09 -04:00 committed by GitHub
commit 3b5173f8f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

2
cli.go
View File

@ -18,7 +18,7 @@ func (cli *CLI) createBlockchain(address string) {
}
func (cli *CLI) getBalance(address string) {
bc := NewBlockchain(address)
bc := NewBlockchain()
defer bc.db.Close()
balance := 0