diff options
author | obscuren <geffobscura@gmail.com> | 2015-01-06 07:19:07 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-01-06 07:19:07 +0800 |
commit | 47e6b2cef8ee0164e82d119c6a9359b55259d645 (patch) | |
tree | 346912a0c62553b9421acf12dcce14cef4fb498f /cmd/mist/ui_lib.go | |
parent | cc7f8f58e81b3607d5a003fe7789dadb7a99fe54 (diff) | |
download | go-tangerine-47e6b2cef8ee0164e82d119c6a9359b55259d645.tar go-tangerine-47e6b2cef8ee0164e82d119c6a9359b55259d645.tar.gz go-tangerine-47e6b2cef8ee0164e82d119c6a9359b55259d645.tar.bz2 go-tangerine-47e6b2cef8ee0164e82d119c6a9359b55259d645.tar.lz go-tangerine-47e6b2cef8ee0164e82d119c6a9359b55259d645.tar.xz go-tangerine-47e6b2cef8ee0164e82d119c6a9359b55259d645.tar.zst go-tangerine-47e6b2cef8ee0164e82d119c6a9359b55259d645.zip |
Allow extra to be set for mined blocks
Diffstat (limited to 'cmd/mist/ui_lib.go')
-rw-r--r-- | cmd/mist/ui_lib.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cmd/mist/ui_lib.go b/cmd/mist/ui_lib.go index 0aabb87d0..933c323de 100644 --- a/cmd/mist/ui_lib.go +++ b/cmd/mist/ui_lib.go @@ -279,6 +279,10 @@ func (self *UiLib) SetGasPrice(price string) { self.miner.MinAcceptedGasPrice = ethutil.Big(price) } +func (self *UiLib) SetExtra(extra string) { + self.miner.Extra = extra +} + func (self *UiLib) ToggleMining() bool { if !self.miner.Mining() { self.miner.Start() |