gofmt
This commit is contained in:
parent
8310661c29
commit
d72255bce3
2 changed files with 20 additions and 22 deletions
|
@ -878,7 +878,6 @@ type mempoolDescriptor struct {
|
|||
StartingPriority int `json:"startingpriority"`
|
||||
CurrentPriority int `json:"currentpriority"`
|
||||
Depends []string `json:"depends"`
|
||||
|
||||
}
|
||||
|
||||
// handleGetRawMempool implements the getrawmempool command.
|
||||
|
@ -911,11 +910,10 @@ func handleGetRawMempool(s *rpcServer, cmd btcjson.Cmd, walletNotification chan
|
|||
return result, nil
|
||||
}
|
||||
hashStrings := make([]string, len(descs))
|
||||
for i := range(hashStrings) {
|
||||
for i := range hashStrings {
|
||||
hashStrings[i] = descs[i].Tx.Sha().String()
|
||||
}
|
||||
|
||||
|
||||
return hashStrings, nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue