Skip to content

Commit

Permalink
address: Return account ID creation error
Browse files Browse the repository at this point in the history
  • Loading branch information
cdamian committed Dec 5, 2023
1 parent dc0eaab commit 1e7ac9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/address.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func NewAddressFromAccountID(b []byte) (Address, error) {
accountID, err := NewAccountID(b)

if err != nil {
return Address{}, nil
return Address{}, err
}

return Address{
Expand Down

0 comments on commit 1e7ac9d

Please sign in to comment.