Skip to content

Commit 2ff7866

Browse files
committed
x
1 parent a241d9b commit 2ff7866

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

api/api.go

+1
Original file line numberDiff line numberDiff line change
@@ -499,6 +499,7 @@ func (api *Server) ReadState2(ctx context.Context, in *iotexapi.ReadStateRequest
499499
}
500500
rsh := fmt.Sprintf("%d", readStateHeight)
501501
if rsh != in.GetHeight() {
502+
fmt.Println("input height", in.GetHeight(), " rsh", rsh)
502503
return nil, status.Error(codes.NotFound, "xxxxx")
503504
}
504505
blkHash, err := api.dao.GetBlockHash(readStateHeight)

0 commit comments

Comments
 (0)