Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion server/ofacblacklist_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ func Test_isOnOFACList(t *testing.T) {
address: "0X53B6936513E738F44FB50D2B9476730C0AB3BFC1",
want: true,
},
"Check unknow": {
"Check unknown": {
address: "0X5",
want: false,
},
Expand Down
2 changes: 1 addition & 1 deletion server/request_intercepts.go
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ func (r *RpcRequest) intercept_mm_eth_getTransactionCount() (requestFinished boo
return true
}

// Returns true if request has already received a response, false if req should contiue to normal proxy
// Returns true if request has already received a response, false if req should continue to normal proxy
func (r *RpcRequest) intercept_eth_call_to_FlashRPC_Contract() (requestFinished bool) {
if len(r.jsonReq.Params) < 1 {
return false
Expand Down
2 changes: 1 addition & 1 deletion server/url_params.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ var (
ErrIncorrectRefundQuery = errors.New("Incorrect refund query, must be 0xaddress:percentage.")
ErrIncorrectRefundAddressQuery = errors.New("Incorrect refund address.")
ErrIncorrectRefundPercentageQuery = errors.New("Incorrect refund percentage.")
ErrIncorrectRefundTotalPercentageQuery = errors.New("Incorrect refund total percentage, must be bellow 100%.")
ErrIncorrectRefundTotalPercentageQuery = errors.New("Incorrect refund total percentage, must be below 100%.")
)

type URLParameters struct {
Expand Down