diff options
author | obscuren <geffobscura@gmail.com> | 2014-10-31 21:53:42 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-10-31 21:53:42 +0800 |
commit | 4914a78c8c650d7fc74570f25a682598aaeb6973 (patch) | |
tree | eca4eef360d5202d51d5d8766072848ebcb185e3 /chain/transaction_pool.go | |
parent | af34749a6b47ff8f9b4cb55d9ea65e1235d63b68 (diff) | |
download | dexon-4914a78c8c650d7fc74570f25a682598aaeb6973.tar dexon-4914a78c8c650d7fc74570f25a682598aaeb6973.tar.gz dexon-4914a78c8c650d7fc74570f25a682598aaeb6973.tar.bz2 dexon-4914a78c8c650d7fc74570f25a682598aaeb6973.tar.lz dexon-4914a78c8c650d7fc74570f25a682598aaeb6973.tar.xz dexon-4914a78c8c650d7fc74570f25a682598aaeb6973.tar.zst dexon-4914a78c8c650d7fc74570f25a682598aaeb6973.zip |
ethwire => wire
Diffstat (limited to 'chain/transaction_pool.go')
-rw-r--r-- | chain/transaction_pool.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chain/transaction_pool.go b/chain/transaction_pool.go index 3e3787eed..a7c85e802 100644 --- a/chain/transaction_pool.go +++ b/chain/transaction_pool.go @@ -7,9 +7,9 @@ import ( "math/big" "sync" - "github.com/ethereum/go-ethereum/ethwire" "github.com/ethereum/go-ethereum/logger" "github.com/ethereum/go-ethereum/state" + "github.com/ethereum/go-ethereum/wire" ) var txplogger = logger.NewLogger("TXP") @@ -93,7 +93,7 @@ func (pool *TxPool) addTransaction(tx *Transaction) { pool.pool.PushBack(tx) // Broadcast the transaction to the rest of the peers - pool.Ethereum.Broadcast(ethwire.MsgTxTy, []interface{}{tx.RlpData()}) + pool.Ethereum.Broadcast(wire.MsgTxTy, []interface{}{tx.RlpData()}) } func (pool *TxPool) ValidateTransaction(tx *Transaction) error { |