Skip to content

Commit

Permalink
fixed unit test for new InvokeHostFunctionResultCode resource limit e…
Browse files Browse the repository at this point in the history
…xceeded
  • Loading branch information
sreuland committed May 2, 2023
1 parent 76585f4 commit b1182b0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions services/horizon/internal/codes/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -499,6 +499,8 @@ func String(code interface{}) (string, error) {
return OpMalformed, nil
case xdr.InvokeHostFunctionResultCodeInvokeHostFunctionTrapped:
return "function_trapped", nil
case xdr.InvokeHostFunctionResultCodeInvokeHostFunctionResourceLimitExceeded:
return "resource_limit_exceeded", nil

}
}
Expand Down

0 comments on commit b1182b0

Please sign in to comment.