File tree Expand file tree Collapse file tree 4 files changed +4
-7
lines changed Expand file tree Collapse file tree 4 files changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ import (
37
37
38
38
const (
39
39
ClientIdentifier = "Ethereum(G)"
40
- Version = "0.8.5 "
40
+ Version = "0.8.6 "
41
41
)
42
42
43
43
var clilogger = logger .NewLogger ("CLI" )
Original file line number Diff line number Diff line change @@ -964,7 +964,7 @@ ApplicationWindow {
964
964
anchors .top : parent .top
965
965
anchors .topMargin : 30
966
966
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"
968
968
}
969
969
}
970
970
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ import (
36
36
37
37
const (
38
38
ClientIdentifier = "Mist"
39
- Version = "0.8.5 "
39
+ Version = "0.8.6 "
40
40
)
41
41
42
42
var ethereum * eth.Ethereum
Original file line number Diff line number Diff line change @@ -251,16 +251,13 @@ func (self *StateTransition) RefundGas() {
251
251
coinbase , sender := self .Coinbase (), self .From ()
252
252
// Return remaining gas
253
253
remaining := new (big.Int ).Mul (self .gas , self .msg .GasPrice ())
254
- fmt .Println ("REFUND:" , remaining )
255
254
sender .AddBalance (remaining )
256
255
257
256
uhalf := new (big.Int ).Div (self .GasUsed (), ethutil .Big2 )
258
257
for addr , ref := range self .state .Refunds () {
259
258
refund := ethutil .BigMin (uhalf , ref )
260
259
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 ()))
264
261
}
265
262
266
263
coinbase .RefundGas (self .gas , self .msg .GasPrice ())
You can’t perform that action at this time.
0 commit comments