Skip to content

Commit

Permalink
Fixes test failure with genesis block
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashy5000 committed Mar 14, 2024
1 parent 209afe5 commit e02396b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions blockutil_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ func TestGetBalance(t *testing.T) {
t.Run("It returns the correct balance of a key", func(t *testing.T) {
// Arrange
blockchain = nil
Append(GenesisBlock())
var key big.Int
key.SetString("1234567890", 10)
sender := dsa.PublicKey{
Expand Down

0 comments on commit e02396b

Please sign in to comment.