Ensure we don't reject our own transactions for gasprice. (#1485)

* Ensure we don't reject our own transactions for gasprice.

* Add test.
This commit is contained in:
Gav Wood
2016-06-29 15:23:41 +02:00
committed by GitHub
parent 78ebc8b975
commit c096c087df
2 changed files with 20 additions and 3 deletions

View File

@@ -165,7 +165,7 @@ fn transaction_error(error: EthcoreError) -> Error {
"There is too many transactions in the queue. Your transaction was dropped due to limit. Try increasing the fee.".into()
},
InsufficientGasPrice { minimal, got } => {
format!("Transaction fee is to low. It does not satisfy your node's minimal fee (minimal: {}, got: {}). Try increasing the fee.", minimal, got)
format!("Transaction fee is too low. It does not satisfy your node's minimal fee (minimal: {}, got: {}). Try increasing the fee.", 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)