aboutsummaryrefslogtreecommitdiffstats
path: root/chain/transaction_pool.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-10-31 21:53:42 +0800
committerobscuren <geffobscura@gmail.com>2014-10-31 21:53:42 +0800
commit4914a78c8c650d7fc74570f25a682598aaeb6973 (patch)
treeeca4eef360d5202d51d5d8766072848ebcb185e3 /chain/transaction_pool.go
parentaf34749a6b47ff8f9b4cb55d9ea65e1235d63b68 (diff)
downloaddexon-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.go4
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 {