File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -138,12 +138,12 @@ func main() {
138138 ctx := context.Background ()
139139 response , err := a.GetTransactionInfo (ctx, transactionId)
140140
141- transantion , err := a.ParseSignedTransaction (response.SignedTransactionInfo )
141+ transaction , err := a.ParseSignedTransaction (response.SignedTransactionInfo )
142142 if err != nil {
143143 // error handling
144144 }
145145
146- if transaction.TransactionId == transactionId {
146+ if transaction.TransactionID == transactionId {
147147 // the transaction is valid
148148 }
149149}
@@ -179,7 +179,7 @@ func main() {
179179 responses , err := a.GetTransactionHistory (ctx, originalTransactionId, query)
180180
181181 for _ , response := range responses {
182- transantions , err := a.ParseSignedTransactions (response.SignedTransactions )
182+ transactions , err := a.ParseSignedTransactions (response.SignedTransactions )
183183 }
184184}
185185```
You can’t perform that action at this time.
0 commit comments