Skip to content

Commit 752f0b9

Browse files
committed
x
1 parent 95908bf commit 752f0b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/api.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1697,7 +1697,7 @@ func (api *Server) getProtocolAccount(ctx context.Context, height uint64, addr s
16971697
Height: fmt.Sprintf("%d", height),
16981698
}
16991699
out, err = api.ReadState2(ctx, req)
1700-
if err != nil && errors.Cause(err) == codes.NotFound {
1700+
if err != nil && errors.Cause(err) == status.Error(codes.NotFound, "xxxxx") {
17011701
balance = "0"
17021702
} else if err != nil {
17031703
return nil, err

0 commit comments

Comments
 (0)