simplify comment and fit into 80 cols.
This commit is contained in:
parent
3a03a03a92
commit
613f61ec59
1 changed files with 2 additions and 4 deletions
|
@ -1403,10 +1403,8 @@ func handleSendRawTransaction(s *rpcServer, cmd btcjson.Cmd) (interface{}, error
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
// We keep track of all the sendrawtransaction request txs because we need to
|
// We keep track of all the sendrawtransaction request txs so that we
|
||||||
// rebroadcast them if they fail to get broadcast or entered into a block; for
|
// can rebroadcast them if they don't make their way into a block.
|
||||||
// instance if the client was offline when they were generated. Refer to
|
|
||||||
// server.go in /btcd.
|
|
||||||
iv := btcwire.NewInvVect(btcwire.InvTypeTx, tx.Sha())
|
iv := btcwire.NewInvVect(btcwire.InvTypeTx, tx.Sha())
|
||||||
s.server.AddRebroadcastInventory(iv)
|
s.server.AddRebroadcastInventory(iv)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue