File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ import (
18
18
"fmt"
19
19
"sync"
20
20
21
+ "github.com/blinklabs-io/gouroboros/ledger/common"
21
22
"github.com/blinklabs-io/gouroboros/protocol"
22
23
)
23
24
@@ -109,9 +110,17 @@ func (s *Server) RequestTxIds(
109
110
110
111
// RequestTxs requests the content of the requested TX identifiers from the remote node's mempool
111
112
func (s * Server ) RequestTxs (txIds []TxId ) ([]TxBody , error ) {
113
+ var txString []string
114
+ for _ , t := range txIds {
115
+ ba := []byte {}
116
+ for _ , b := range t .TxId {
117
+ ba = append (ba , b )
118
+ }
119
+ txString = append (txString , common .NewBlake2b256 (ba ).String ())
120
+ }
112
121
s .Protocol .Logger ().
113
122
Debug (
114
- fmt .Sprintf ("calling RequestTxs(txIds: %+v)" , txIds ),
123
+ fmt .Sprintf ("calling RequestTxs(txIds: %+v)" , txString ),
115
124
"component" , "network" ,
116
125
"protocol" , ProtocolName ,
117
126
"role" , "server" ,
You can’t perform that action at this time.
0 commit comments