diff --git a/server/ofacblacklist_test.go b/server/ofacblacklist_test.go index 4c22b48..b0fa6f0 100644 --- a/server/ofacblacklist_test.go +++ b/server/ofacblacklist_test.go @@ -15,7 +15,7 @@ func Test_isOnOFACList(t *testing.T) { address: "0X53B6936513E738F44FB50D2B9476730C0AB3BFC1", want: true, }, - "Check unknow": { + "Check unknown": { address: "0X5", want: false, }, diff --git a/server/request_intercepts.go b/server/request_intercepts.go index 725de4e..e22c6c3 100644 --- a/server/request_intercepts.go +++ b/server/request_intercepts.go @@ -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 diff --git a/server/url_params.go b/server/url_params.go index f4f1791..87333c3 100644 --- a/server/url_params.go +++ b/server/url_params.go @@ -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 {