File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ const (
27
27
AgencyServer ProtocolStateAgency = 2 // Server agency
28
28
)
29
29
30
- // State represents protocol state with both a numeric ID and a string identifer
30
+ // State represents protocol state with both a numeric ID and a string identifier
31
31
type State struct {
32
32
Id uint
33
33
Name string
Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ func (s *Server) RequestTxIds(
122
122
123
123
// RequestTxs requests the content of the requested TX identifiers from the remote node's mempool
124
124
func (s * Server ) RequestTxs (txIds []TxId ) ([]TxBody , error ) {
125
- var txString []string
125
+ txString := []string {}
126
126
for _ , t := range txIds {
127
127
ba := []byte {}
128
128
for _ , b := range t .TxId {
You can’t perform that action at this time.
0 commit comments