Skip to content

Commit 0fd6a22

Browse files
committed
Merge branch 'hotfix/0.8.5-2'
2 parents fa7deb1 + 3ab05dd commit 0fd6a22

File tree

4 files changed

+4
-7
lines changed

4 files changed

+4
-7
lines changed

cmd/ethereum/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ import (
3737

3838
const (
3939
ClientIdentifier = "Ethereum(G)"
40-
Version = "0.8.5"
40+
Version = "0.8.6"
4141
)
4242

4343
var clilogger = logger.NewLogger("CLI")

cmd/mist/assets/qml/main.qml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -964,7 +964,7 @@ ApplicationWindow {
964964
anchors.top: parent.top
965965
anchors.topMargin: 30
966966
font.pointSize: 12
967-
text: "<h2>Mist (0.8.5)</h2><br><h3>Development</h3>Jeffrey Wilcke<br>Viktor Trón<br>Felix Lange<br>Taylor Gerring<br>Daniel Nagy<br>Gustav Simonsson<br><h3>UX/UI</h3>Alex van de Sande<br>Fabian Vogelsteller"
967+
text: "<h2>Mist (0.8.6)</h2><br><h3>Development</h3>Jeffrey Wilcke<br>Viktor Trón<br>Felix Lange<br>Taylor Gerring<br>Daniel Nagy<br>Gustav Simonsson<br><h3>UX/UI</h3>Alex van de Sande<br>Fabian Vogelsteller"
968968
}
969969
}
970970

cmd/mist/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ import (
3636

3737
const (
3838
ClientIdentifier = "Mist"
39-
Version = "0.8.5"
39+
Version = "0.8.6"
4040
)
4141

4242
var ethereum *eth.Ethereum

core/state_transition.go

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -251,16 +251,13 @@ func (self *StateTransition) RefundGas() {
251251
coinbase, sender := self.Coinbase(), self.From()
252252
// Return remaining gas
253253
remaining := new(big.Int).Mul(self.gas, self.msg.GasPrice())
254-
fmt.Println("REFUND:", remaining)
255254
sender.AddBalance(remaining)
256255

257256
uhalf := new(big.Int).Div(self.GasUsed(), ethutil.Big2)
258257
for addr, ref := range self.state.Refunds() {
259258
refund := ethutil.BigMin(uhalf, ref)
260259
self.gas.Add(self.gas, refund)
261-
addToIt := refund.Mul(refund, self.msg.GasPrice())
262-
fmt.Println("ADD TO IT", addToIt)
263-
self.state.AddBalance([]byte(addr), addToIt)
260+
self.state.AddBalance([]byte(addr), refund.Mul(refund, self.msg.GasPrice()))
264261
}
265262

266263
coinbase.RefundGas(self.gas, self.msg.GasPrice())

0 commit comments

Comments
 (0)