-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GetGuardianData #98
GetGuardianData #98
Conversation
updated elrond-go + elrond-go-core to latest commit
@@ -3,8 +3,8 @@ module github.com/ElrondNetwork/elrond-sdk-erdgo | |||
go 1.14 | |||
|
|||
require ( | |||
github.com/ElrondNetwork/elrond-go v1.3.38-0.20220901083346-925f26245a35 | |||
github.com/ElrondNetwork/elrond-go-core v1.1.20-0.20220901061429-fc1143a4a107 | |||
github.com/ElrondNetwork/elrond-go v1.3.38-0.20220912122303-9c2574322163 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
if check.IfNil(address) { | ||
return nil, ErrNilAddress | ||
} | ||
if !address.IsValid() { | ||
return nil, ErrInvalidAddress | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Move this before L545. And add test for nil address.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks, fixed GetAccount as well
…and GetGuardianData
No description provided.