Skip to content

Commit 809e664

Browse files
authored
Merge pull request #319 from kawabatas/fix-typo
Fix typo in README
2 parents da10f49 + 20c648a commit 809e664

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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
```

0 commit comments

Comments
 (0)