Problem: ERR_BRIDGE_CRASH is erroneously set to 11

Solution: change it to 12 (as per documentation)
This commit is contained in:
Yurii Rashkovskii 2018-05-16 16:22:49 -07:00
parent d25bea1a93
commit cc4147c9cc
No known key found for this signature in database
GPG Key ID: 1D60D7CFD80845FF
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ const ERR_GAS_PRICE_TOO_LOW: i32 = 6;
const ERR_NONCE_REUSE: i32 = 7;
const ERR_CANNOT_CONNECT: i32 = 10;
const ERR_CONNECTION_LOST: i32 = 11;
const ERR_BRIDGE_CRASH: i32 = 11;
const ERR_BRIDGE_CRASH: i32 = 12;
const ERR_RPC_ERROR: i32 = 20;
pub struct UserFacingError(i32, Error);