From 32ad74f52c058d6af213a11f30c1c79af0e5ae2e Mon Sep 17 00:00:00 2001 From: sameh-farouk Date: Thu, 9 Nov 2023 14:00:19 +0200 Subject: [PATCH] update types in go client --- clients/tfchain-client-go/burning.go | 1 + clients/tfchain-client-go/tft_bridge_events.go | 1 + 2 files changed, 2 insertions(+) diff --git a/clients/tfchain-client-go/burning.go b/clients/tfchain-client-go/burning.go index 8d575fd16..cf0040e4e 100644 --- a/clients/tfchain-client-go/burning.go +++ b/clients/tfchain-client-go/burning.go @@ -17,6 +17,7 @@ var ( type BurnTransaction struct { Block types.U32 `json:"block"` Amount types.U64 `json:"amount"` + Source types.AccountID `json:"source"` Target string `json:"target"` Signatures []StellarSignature `json:"signatures"` SequenceNumber types.U64 `json:"sequence_number"` diff --git a/clients/tfchain-client-go/tft_bridge_events.go b/clients/tfchain-client-go/tft_bridge_events.go index d8bfacd8e..8cf6f4279 100644 --- a/clients/tfchain-client-go/tft_bridge_events.go +++ b/clients/tfchain-client-go/tft_bridge_events.go @@ -16,6 +16,7 @@ type BridgeBurnTransactionCreated struct { type BridgeBurnTransactionExpired struct { Phase types.Phase BurnTransactionID types.U64 `json:"burn_transaction_id"` + Source types.AccountID `json:"source"` Target []byte `json:"target"` Amount types.U64 `json:"amount"` Topics []types.Hash