Run go fmt.

This commit is contained in:
Dave Collins 2014-03-28 14:49:38 -05:00
parent d702e37141
commit 444d05eafc
2 changed files with 2 additions and 2 deletions

View file

@ -1403,7 +1403,7 @@ func handleSendRawTransaction(s *rpcServer, cmd btcjson.Cmd) (interface{}, error
return nil, err return nil, err
} }
// We keep track of all the sendrawtransaction request txs so that we // We keep track of all the sendrawtransaction request txs so that we
// can rebroadcast them if they don't make their way into a block. // can rebroadcast them if they don't make their way into a block.
iv := btcwire.NewInvVect(btcwire.InvTypeTx, tx.Sha()) iv := btcwire.NewInvVect(btcwire.InvTypeTx, tx.Sha())
s.server.AddRebroadcastInventory(iv) s.server.AddRebroadcastInventory(iv)

View file

@ -752,7 +752,7 @@ func (s *server) NetTotals() (uint64, uint64) {
// sent out but have not yet made it into a block. We periodically rebroadcast // sent out but have not yet made it into a block. We periodically rebroadcast
// them in case our peers restarted or otherwise lost track of them. // them in case our peers restarted or otherwise lost track of them.
func (s *server) rebroadcastHandler() { func (s *server) rebroadcastHandler() {
// Wait 5 min before first tx rebroadcast. // Wait 5 min before first tx rebroadcast.
timer := time.NewTimer(5 * time.Minute) timer := time.NewTimer(5 * time.Minute)
pendingInvs := make(map[btcwire.InvVect]struct{}) pendingInvs := make(map[btcwire.InvVect]struct{})