Skip to content

Commit

Permalink
Merge pull request #8 from rarimo/update/v1.1.1
Browse files Browse the repository at this point in the history
Update v1.1.0 fix
  • Loading branch information
olegfomenko authored Dec 6, 2023
2 parents f3d881f + 3736f15 commit 86fe5b4
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions x/oraclemanager/keeper/abci.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ func (k Keeper) EndBlocker(ctx sdk.Context) {
monitoringOperationTypes := map[rarimotypes.OpType]struct{}{
rarimotypes.OpType_TRANSFER: struct{}{},
rarimotypes.OpType_IDENTITY_GIST_TRANSFER: struct{}{},
rarimotypes.OpType_IDENTITY_STATE_TRANSFER: struct{}{},
rarimotypes.OpType_IDENTITY_DEFAULT_TRANSFER: struct{}{},
}

Expand Down Expand Up @@ -152,6 +153,14 @@ func getSourceChain(op rarimotypes.Operation) (string, error) {
return "", err
}

return transfer.Chain, nil

case rarimotypes.OpType_IDENTITY_STATE_TRANSFER:
transfer, err := pkg.GetIdentityStateTransfer(op)
if err != nil {
return "", err
}

return transfer.Chain, nil
}

Expand Down

0 comments on commit 86fe5b4

Please sign in to comment.