Skip to content

Commit dc502fb

Browse files
committed
remove whitespace
1 parent 457666c commit dc502fb

File tree

5 files changed

+5
-16
lines changed

5 files changed

+5
-16
lines changed

internal/adapters/dataproviders/database/mongo/common.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@ package mongo
22

33
import (
44
"context"
5-
"time"
6-
75
log "github.com/sirupsen/logrus"
6+
"time"
87
)
98

109
const (

internal/adapters/dataproviders/database/mongo/common_test.go

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,15 @@ package mongo_test
22

33
import (
44
"context"
5-
"sync"
6-
"testing"
7-
"time"
8-
95
"github.com/rsksmart/liquidity-provider-server/internal/adapters/dataproviders/database/mongo"
106
"github.com/rsksmart/liquidity-provider-server/test"
117
"github.com/rsksmart/liquidity-provider-server/test/mocks"
128
"github.com/stretchr/testify/assert"
139
"github.com/stretchr/testify/mock"
1410
"go.mongodb.org/mongo-driver/mongo/readpref"
11+
"sync"
12+
"testing"
13+
"time"
1514
)
1615

1716
func TestNewConnection(t *testing.T) {

internal/entities/quote/common.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,10 @@ import (
44
"encoding/hex"
55
"errors"
66
"fmt"
7-
"math/big"
8-
97
"github.com/rsksmart/liquidity-provider-server/internal/entities"
108
"github.com/rsksmart/liquidity-provider-server/internal/entities/utils"
119
log "github.com/sirupsen/logrus"
10+
"math/big"
1211
)
1312

1413
type AcceptedQuote struct {

internal/entities/quote/pegin_quote.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -119,10 +119,6 @@ type RetainedPeginQuote struct {
119119
RegisterPeginTxHash string `json:"registerPeginTxHash" bson:"register_pegin_tx_hash"`
120120
}
121121

122-
func (r RetainedPeginQuote) GetQuoteHash() string {
123-
return r.QuoteHash
124-
}
125-
126122
type WatchedPeginQuote struct {
127123
PeginQuote PeginQuote
128124
RetainedQuote RetainedPeginQuote

internal/entities/quote/pegout_quote.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -132,10 +132,6 @@ type RetainedPegoutQuote struct {
132132
BridgeRefundTxHash string `json:"BridgeRefundTxHash" bson:"bridge_refund_tx_hash"`
133133
}
134134

135-
func (r RetainedPegoutQuote) GetQuoteHash() string {
136-
return r.QuoteHash
137-
}
138-
139135
type WatchedPegoutQuote struct {
140136
PegoutQuote PegoutQuote
141137
RetainedQuote RetainedPegoutQuote

0 commit comments

Comments
 (0)