summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/keybase/go-keybase-chat-bot/kbchat/wallet.go
diff options
context:
space:
mode:
authorWim <wim@42.be>2020-02-08 16:50:16 +0100
committerWim <wim@42.be>2020-02-08 18:33:05 +0100
commitff8cf067b8328f8a49f0a2dfd69a6ae5569cda15 (patch)
tree60047b220e9a75402e0ac53b61d3cafc4ee403fc /vendor/github.com/keybase/go-keybase-chat-bot/kbchat/wallet.go
parent1420f6805070ed70f4bb60b8abafb96541ff6536 (diff)
downloadmatterbridge-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.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) {