Skip to content

Commit

Permalink
more accurate comments
Browse files Browse the repository at this point in the history
  • Loading branch information
nirajpathak13 committed Apr 28, 2022
1 parent a646ab1 commit 3a1d4ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/rpc/wallet.go
Original file line number Diff line number Diff line change
Expand Up @@ -259,15 +259,15 @@ func (s *WalletService) SendTransaction(opts *SendTransactionOptions) (*SendTran
return r, resp, nil
}

// CatSpendOptions represents the options for send_transaction
// CatSpendOptions represents the options for cat_spend
type CatSpendOptions struct {
WalletID uint32 `json:"wallet_id"`
Amount uint64 `json:"amount"`
Address string `json:"inner_address"`
Fee uint64 `json:"fee"`
}

// CatSpendResponse represents the response from send_transaction
// CatSpendResponse represents the response from cat_spend
type CatSpendResponse struct {
Success bool `json:"success"`
TransactionID string `json:"transaction_id"`
Expand Down

0 comments on commit 3a1d4ea

Please sign in to comment.