aboutsummaryrefslogtreecommitdiffstats
path: root/core/state_transition.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-12-19 20:34:53 +0800
committerobscuren <geffobscura@gmail.com>2014-12-19 20:34:53 +0800
commit0e93b98533968f4a0033ec6214391f5ca647a956 (patch)
tree6237862ddbef544dec3c34561cc2bb0421f2b59c /core/state_transition.go
parent5da5db5a0a149235c742748aa4b3b94d13d6910f (diff)
downloadgo-tangerine-0e93b98533968f4a0033ec6214391f5ca647a956.tar
go-tangerine-0e93b98533968f4a0033ec6214391f5ca647a956.tar.gz
go-tangerine-0e93b98533968f4a0033ec6214391f5ca647a956.tar.bz2
go-tangerine-0e93b98533968f4a0033ec6214391f5ca647a956.tar.lz
go-tangerine-0e93b98533968f4a0033ec6214391f5ca647a956.tar.xz
go-tangerine-0e93b98533968f4a0033ec6214391f5ca647a956.tar.zst
go-tangerine-0e93b98533968f4a0033ec6214391f5ca647a956.zip
Transaction was generating incorrect hash because of var changes
Diffstat (limited to 'core/state_transition.go')
-rw-r--r--core/state_transition.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/state_transition.go b/core/state_transition.go
index 9e81ddf28..a54246eba 100644
--- a/core/state_transition.go
+++ b/core/state_transition.go
@@ -112,7 +112,7 @@ func (self *StateTransition) BuyGas() error {
sender := self.From()
if sender.Balance().Cmp(MessageGasValue(self.msg)) < 0 {
- return fmt.Errorf("Insufficient funds to pre-pay gas. Req %v, has %v", MessageGasValue(self.msg), sender.Balance())
+ return fmt.Errorf("insufficient ETH for gas (%x). Req %v, has %v", sender.Address()[:4], MessageGasValue(self.msg), sender.Balance())
}
coinbase := self.Coinbase()