Skip to content

Commit

Permalink
fix(spec): fixed example type (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulLaux authored Apr 18, 2019
1 parent 7ab9426 commit 6a5215a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions go/examples/cmd/transferandread/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,13 +76,13 @@ func main() {
// END transfer from source to destination

// START read transactions in the destination wallet and find this transfer
getTransactionsRequest := sdk.GetTransactionsRequest{
getActivityRequest := sdk.GetActivityRequest{
WalletId: "dest_wallet",
NumberOfResults: 1000,
StartIndex: 0,
}

getTransactionsResponse, _, err := client.WalletApi.WalletGetActivityPost(ctx, getTransactionsRequest)
getTransactionsResponse, _, err := client.WalletApi.WalletGetActivityPost(ctx, getActivityRequest)
if err != nil {
util.HandleErrorAndExit(fmt.Errorf("couldn't get transactions: %v", err))
}
Expand Down

0 comments on commit 6a5215a

Please sign in to comment.