Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
ianthpun committed Feb 16, 2024
1 parent cbeace8 commit 0dc1c6e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion flowkit_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2122,4 +2122,4 @@ func Test_BlockQuery(t *testing.T) {

_, err = NewBlockQuery("invalid")
assert.EqualError(t, err, "invalid query: invalid, valid are: \"latest\", block height or block ID")
}
}
2 changes: 1 addition & 1 deletion state.go
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ func (p *State) AccountByContractName(contractName string, network config.Networ
}
}
if accountName == "" {
return nil, fmt.Errorf("contract not found in state")
return nil, fmt.Errorf("deployment of %s not found for network %s", contractName, network.Name)
}

accs := p.Accounts()
Expand Down

0 comments on commit 0dc1c6e

Please sign in to comment.