diff options
author | obscuren <geffobscura@gmail.com> | 2015-02-13 00:06:15 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-02-13 00:06:15 +0800 |
commit | 38faf2c51a1e4a86cda5dfa1b4f7fdae4fd7f58d (patch) | |
tree | 4926b4cccc953ad368559ab6cd6efbeb5c3ab74e /xeth/xeth.go | |
parent | 31fdc645ed9c6bfa63deb8a688888b6cacfd821e (diff) | |
download | dexon-38faf2c51a1e4a86cda5dfa1b4f7fdae4fd7f58d.tar.gz dexon-38faf2c51a1e4a86cda5dfa1b4f7fdae4fd7f58d.tar.zst dexon-38faf2c51a1e4a86cda5dfa1b4f7fdae4fd7f58d.zip |
removed messages
Diffstat (limited to 'xeth/xeth.go')
-rw-r--r-- | xeth/xeth.go | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/xeth/xeth.go b/xeth/xeth.go index 0e71a0ed9..4098daf98 100644 --- a/xeth/xeth.go +++ b/xeth/xeth.go @@ -192,15 +192,6 @@ func (self *XEth) FromNumber(str string) string { return ethutil.BigD(fromHex(str)).String() } -func ToMessages(messages state.Messages) *ethutil.List { - var msgs []Message - for _, m := range messages { - msgs = append(msgs, NewMessage(m)) - } - - return ethutil.NewList(msgs) -} - func (self *XEth) PushTx(encodedTx string) (string, error) { tx := types.NewTransactionFromBytes(fromHex(encodedTx)) err := self.eth.TxPool().Add(tx) |