aboutsummaryrefslogtreecommitdiffstats
path: root/lds/txrelay.go
diff options
context:
space:
mode:
Diffstat (limited to 'lds/txrelay.go')
-rw-r--r--lds/txrelay.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/lds/txrelay.go b/lds/txrelay.go
index 7feb2c189..16eccfdc6 100644
--- a/lds/txrelay.go
+++ b/lds/txrelay.go
@@ -118,14 +118,14 @@ func (self *LdsTxRelay) send(txs types.Transactions, count int) {
rq := &distReq{
getCost: func(dp distPeer) uint64 {
peer := dp.(*peer)
- return peer.GetRequestCost(SendTxMsg, len(ll))
+ return peer.GetRequestCost(SendTxV2Msg, len(ll))
},
canSend: func(dp distPeer) bool {
return dp.(*peer) == pp
},
request: func(dp distPeer) func() {
peer := dp.(*peer)
- cost := peer.GetRequestCost(SendTxMsg, len(ll))
+ cost := peer.GetRequestCost(SendTxV2Msg, len(ll))
peer.fcServer.QueueRequest(reqID, cost)
return func() { peer.SendTxs(reqID, cost, ll) }
},