Merge pull request #3036 from karalabe/release/1.4

Geth 1.4.13
pull/3039/head
Péter Szilágyi 8 years ago committed by GitHub
commit 6999f1da6b
  1. 2
      VERSION
  2. 2
      cmd/geth/main.go
  3. 6
      core/state/state_object.go

@ -1 +1 @@
1.4.12
1.4.13

@ -50,7 +50,7 @@ const (
clientIdentifier = "Geth" // Client identifier to advertise over the network
versionMajor = 1 // Major version component of the current release
versionMinor = 4 // Minor version component of the current release
versionPatch = 12 // Patch version component of the current release
versionPatch = 13 // Patch version component of the current release
versionMeta = "stable" // Version metadata to append to the version string
versionOracle = "0xfa7b9770ca4cb04296cac84f37736d4041251cdf" // Ethereum address of the Geth release oracle

@ -154,6 +154,9 @@ func (self *StateObject) Update() {
}
func (c *StateObject) AddBalance(amount *big.Int) {
if amount.Cmp(common.Big0) == 0 {
return
}
c.SetBalance(new(big.Int).Add(c.balance, amount))
if glog.V(logger.Core) {
@ -162,6 +165,9 @@ func (c *StateObject) AddBalance(amount *big.Int) {
}
func (c *StateObject) SubBalance(amount *big.Int) {
if amount.Cmp(common.Big0) == 0 {
return
}
c.SetBalance(new(big.Int).Sub(c.balance, amount))
if glog.V(logger.Core) {

Loading…
Cancel
Save