Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion protocol/state.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const (
AgencyServer ProtocolStateAgency = 2 // Server agency
)

// State represents protocol state with both a numeric ID and a string identifer
// State represents protocol state with both a numeric ID and a string identifier
type State struct {
Id uint
Name string
Expand Down
2 changes: 1 addition & 1 deletion protocol/txsubmission/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ func (s *Server) RequestTxIds(

// RequestTxs requests the content of the requested TX identifiers from the remote node's mempool
func (s *Server) RequestTxs(txIds []TxId) ([]TxBody, error) {
var txString []string
txString := []string{}
for _, t := range txIds {
ba := []byte{}
for _, b := range t.TxId {
Expand Down