Skip to content

Commit

Permalink
Add oracle InsufficientFunds code (#2037)
Browse files Browse the repository at this point in the history
* add InsufficientFunds code

* add ResponseTooLarge

* Update OracleResponseCode.cs

* Change values

Co-authored-by: Tommo-L <[email protected]>
Co-authored-by: Shargon <[email protected]>
Co-authored-by: Erik Zhang <[email protected]>
  • Loading branch information
4 people authored Nov 8, 2020
1 parent 788b2b2 commit 5d5bd02
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/neo/Network/P2P/Payloads/OracleResponseCode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,12 @@ public enum OracleResponseCode : byte
{
Success = 0x00,

NotFound = 0x10,
Timeout = 0x12,
Forbidden = 0x14,
ConsensusUnreachable = 0x10,
NotFound = 0x12,
Timeout = 0x14,
Forbidden = 0x16,
ResponseTooLarge = 0x18,
InsufficientFunds = 0x1a,

Error = 0xff
}
Expand Down

0 comments on commit 5d5bd02

Please sign in to comment.