Skip to content
This repository has been archived by the owner on Mar 28, 2023. It is now read-only.

Commit

Permalink
gofmt handlers
Browse files Browse the repository at this point in the history
  • Loading branch information
hoffmabc committed Aug 4, 2020
1 parent 07ad745 commit 00ed5f8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions net/service/handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -2003,12 +2003,12 @@ func (service *OpenBazaarService) handleOrderPayment(peer peer.ID, pmes *pb.Mess

log.Debugf("retrieving %s transaction %s", paymentDetails.Coin, txid)
var txn wallet.Txn
for i := 0; i<10; i++ {
for i := 0; i < 10; i++ {
txn, err = wal.GetTransaction(txid)
if err == nil {
break;
break
}
time.Sleep(time.Second*2)
time.Sleep(time.Second * 2)
}
if err != nil {
return nil, err
Expand Down

0 comments on commit 00ed5f8

Please sign in to comment.