aboutsummaryrefslogtreecommitdiffstats
path: root/ethchain/state_object.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-06-16 17:51:16 +0800
committerobscuren <geffobscura@gmail.com>2014-06-16 17:51:16 +0800
commit48bca30e61f869a00111abe5d818ac7379854616 (patch)
tree6d74a838ae054a65f937f97c51f5780adae1642b /ethchain/state_object.go
parent9f62d441a7c785b88f89d52643a9deaa822af15e (diff)
downloadgo-tangerine-48bca30e61f869a00111abe5d818ac7379854616.tar.gz
go-tangerine-48bca30e61f869a00111abe5d818ac7379854616.tar.zst
go-tangerine-48bca30e61f869a00111abe5d818ac7379854616.zip
Fixed minor issue with the gas pool
Diffstat (limited to 'ethchain/state_object.go')
-rw-r--r--ethchain/state_object.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/ethchain/state_object.go b/ethchain/state_object.go
index 03f4c9219..337c5a394 100644
--- a/ethchain/state_object.go
+++ b/ethchain/state_object.go
@@ -120,13 +120,13 @@ func (c *StateObject) ReturnGas(gas, price *big.Int, state *State) {
func (c *StateObject) AddAmount(amount *big.Int) {
c.SetAmount(new(big.Int).Add(c.Amount, amount))
- ethutil.Config.Log.Debugf("%x: #%d %v (+ %v)", c.Address(), c.Nonce, c.Amount, amount)
+ ethutil.Config.Log.Printf(ethutil.LogLevelSystem, "%x: #%d %v (+ %v)\n", c.Address(), c.Nonce, c.Amount, amount)
}
func (c *StateObject) SubAmount(amount *big.Int) {
c.SetAmount(new(big.Int).Sub(c.Amount, amount))
- ethutil.Config.Log.Debugf("%x: #%d %v (- %v)", c.Address(), c.Nonce, c.Amount, amount)
+ ethutil.Config.Log.Printf(ethutil.LogLevelSystem, "%x: #%d %v (- %v)\n", c.Address(), c.Nonce, c.Amount, amount)
}
func (c *StateObject) SetAmount(amount *big.Int) {