summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/keybase/go-keybase-chat-bot/kbchat/wallet.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/keybase/go-keybase-chat-bot/kbchat/wallet.go')
-rw-r--r--vendor/github.com/keybase/go-keybase-chat-bot/kbchat/wallet.go19
1 files changed, 3 insertions, 16 deletions
diff --git a/vendor/github.com/keybase/go-keybase-chat-bot/kbchat/wallet.go b/vendor/github.com/keybase/go-keybase-chat-bot/kbchat/wallet.go
index 7dfdab68..fb9cfb31 100644
--- a/vendor/github.com/keybase/go-keybase-chat-bot/kbchat/wallet.go
+++ b/vendor/github.com/keybase/go-keybase-chat-bot/kbchat/wallet.go
@@ -5,25 +5,12 @@ import (
"encoding/json"
"fmt"
"strings"
+
+ "github.com/keybase/go-keybase-chat-bot/kbchat/types/stellar1"
)
type WalletOutput struct {
- Result WalletResult `json:"result"`
-}
-
-type WalletResult struct {
- TxID string `json:"txID"`
- Status string `json:"status"`
- Amount string `json:"amount"`
- Asset WalletAsset `json:"asset"`
- FromUsername string `json:"fromUsername"`
- ToUsername string `json:"toUsername"`
-}
-
-type WalletAsset struct {
- Type string `json:"type"`
- Code string `json:"code"`
- Issuer string `json:"issuer"`
+ Result stellar1.PaymentCLILocal `json:"result"`
}
func (a *API) GetWalletTxDetails(txID string) (wOut WalletOutput, err error) {