Skip to content
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

Merged
merged 4 commits into from
Oct 21, 2022
Merged

GetGuardianData #98

merged 4 commits into from
Oct 21, 2022

Conversation

sstanculeanu
Copy link
Contributor

No description provided.

updated elrond-go + elrond-go-core to latest commit
@sstanculeanu sstanculeanu self-assigned this Sep 27, 2022
data/guardian.go Outdated Show resolved Hide resolved
@@ -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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

AdoAdoAdo
AdoAdoAdo previously approved these changes Sep 27, 2022
Comment on lines +549 to +554
if check.IfNil(address) {
return nil, ErrNilAddress
}
if !address.IsValid() {
return nil, ErrInvalidAddress
}
Copy link
Contributor

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.

Copy link
Contributor Author

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

@AdoAdoAdo AdoAdoAdo merged commit 0432a4c into feat/freeze-account Oct 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants