Skip to content

Commit

Permalink
fix GetSmartContractEventByBlock bug (#121)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucas7788 authored Aug 11, 2020
1 parent 8ba4556 commit efe2c37
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,9 @@ func (this *ClientMgr) GetSmartContractEventByBlock(height uint32) ([]*sdkcom.Sm
if err != nil {
return nil, err
}
if data == nil {
return nil, nil
}
return utils.GetSmartContactEvents(data)
}

Expand Down

0 comments on commit efe2c37

Please sign in to comment.