Skip to content

Commit

Permalink
Problem: ERR_BRIDGE_CRASH is erroneously set to 11
Browse files Browse the repository at this point in the history
Solution: change it to 12 (as per documentation)
  • Loading branch information
yrashk committed May 16, 2018
1 parent d25bea1 commit cc4147c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit cc4147c

Please sign in to comment.