Merge pull request #3902 from ethcore/rpc-error-grammar

Fix grammar ("you try" -> "you tried" + article)
This commit is contained in:
Robert Habermeier 2016-12-19 16:49:39 +01:00 committed by GitHub
commit e0f6f8f97e

View File

@ -246,7 +246,7 @@ pub fn transaction_message(error: TransactionError) -> String {
format!("Transaction gas price is too low. It does not satisfy your node's minimal gas price (minimal: {}, got: {}). Try increasing the gas price.", minimal, got)
},
InsufficientBalance { balance, cost } => {
format!("Insufficient funds. Account you try to send transaction from does not have enough funds. Required {} and got: {}.", cost, balance)
format!("Insufficient funds. The account you tried to send transaction from does not have enough funds. Required {} and got: {}.", cost, balance)
},
GasLimitExceeded { limit, got } => {
format!("Transaction cost exceeds current gas limit. Limit: {}, got: {}. Try decreasing supplied gas.", limit, got)