native: do not fail on missing request in Oracle.PostPersist()
This commit is contained in:
parent
cba117352c
commit
1db27c004e
1 changed files with 1 additions and 1 deletions
|
@ -153,7 +153,7 @@ func (o *Oracle) PostPersist(ic *interop.Context) error {
|
||||||
reqKey := makeRequestKey(resp.ID)
|
reqKey := makeRequestKey(resp.ID)
|
||||||
req := new(state.OracleRequest)
|
req := new(state.OracleRequest)
|
||||||
if err := o.getSerializableFromDAO(ic.DAO, reqKey, req); err != nil {
|
if err := o.getSerializableFromDAO(ic.DAO, reqKey, req); err != nil {
|
||||||
return err
|
continue
|
||||||
}
|
}
|
||||||
if err := ic.DAO.DeleteStorageItem(o.ContractID, reqKey); err != nil {
|
if err := ic.DAO.DeleteStorageItem(o.ContractID, reqKey); err != nil {
|
||||||
return err
|
return err
|
||||||
|
|
Loading…
Reference in a new issue