diff --git a/rosetta/services/account.go b/rosetta/services/account.go index 365fecaa7..0cbd6afeb 100644 --- a/rosetta/services/account.go +++ b/rosetta/services/account.go @@ -164,7 +164,7 @@ func newAccountIdentifier( // newAccountIdentifier .. func newRosettaAccountIdentifier(address *vm.RosettaLogAddressItem) (*types.AccountIdentifier, *types.Error) { - if address.Account == nil { + if address == nil || address.Account == nil { return nil, nil }