diff options
author | Wim <wim@42.be> | 2020-02-08 16:50:16 +0100 |
---|---|---|
committer | Wim <wim@42.be> | 2020-02-08 18:33:05 +0100 |
commit | ff8cf067b8328f8a49f0a2dfd69a6ae5569cda15 (patch) | |
tree | 60047b220e9a75402e0ac53b61d3cafc4ee403fc /vendor/github.com/keybase/go-keybase-chat-bot/kbchat/wallet.go | |
parent | 1420f6805070ed70f4bb60b8abafb96541ff6536 (diff) | |
download | matterbridge-msglm-ff8cf067b8328f8a49f0a2dfd69a6ae5569cda15.tar.gz matterbridge-msglm-ff8cf067b8328f8a49f0a2dfd69a6ae5569cda15.tar.bz2 matterbridge-msglm-ff8cf067b8328f8a49f0a2dfd69a6ae5569cda15.zip |
Update kekeybase/go-keybase-chat-bot vendor
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.go | 19 |
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) { |