Skip to content

Commit

Permalink
Merge pull request #2 from rcbgr/main
Browse files Browse the repository at this point in the history
Fix typos + format
  • Loading branch information
rcbgr authored Aug 3, 2023
2 parents e1e6760 + 1f3180b commit 3dceeb7
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion list_orders.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ type ListOrdersResponse struct {
Request *ListOrdersRequest `json:"request"`
}

// ListOrders returns orders based on query params. Start time is requred.
// ListOrders returns orders based on query params. Start time is required.
// This API endpoint cannot list open orders, so do not add an OPEN status
// to the status param.
// https://docs.cloud.coinbase.com/prime/reference/primerestapi_getorders
Expand Down
4 changes: 1 addition & 3 deletions test/create_wallet_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package test
import (
"context"
"fmt"
"os"
"testing"
"time"
"os"

prime "github.com/coinbase-samples/prime-sdk-go"
)
Expand Down Expand Up @@ -45,5 +45,3 @@ func TestCreateWallet(t *testing.T) {
}

}


2 changes: 1 addition & 1 deletion test/get_commission_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func TestPortfolioCommission(t *testing.T) {
}

if response.Commission == nil {
t.Fatal("expected commision in get")
t.Fatal("expected commission in get")
}

}
1 change: 0 additions & 1 deletion test/list_portfolios_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,4 +83,3 @@ func testGetPortfolio(t *testing.T, client *prime.Client, portfolioId string) {
}

}

0 comments on commit 3dceeb7

Please sign in to comment.