DAO Rescue soft fork (#1309)
* DAO Rescue soft fork * Address minor issues. * Fix tests.
This commit is contained in:
@@ -134,6 +134,7 @@ fn transaction_error(error: EthcoreError) -> Error {
|
||||
format!("Transaction cost exceeds current gas limit. Limit: {}, got: {}. Try decreasing supplied gas.", limit, got)
|
||||
},
|
||||
InvalidGasLimit(_) => "Supplied gas is beyond limit.".into(),
|
||||
DAORescue => "Transaction removes funds from a DAO.".into(),
|
||||
};
|
||||
Error {
|
||||
code: ErrorCode::ServerError(error_codes::TRANSACTION_ERROR),
|
||||
|
||||
Reference in New Issue
Block a user