fix: change which status `TransactionReceiptQuery` uses for retrying
@@ -80,7 +80,7 @@ func transactionReceiptQuery_shouldRetry(status Status, response response) bool
}
func transactionReceiptQuery_mapResponseStatus(_ request, response response) Status {
- return Status(response.query.GetTransactionGetReceipt().Header.NodeTransactionPrecheckCode)
+ return Status(response.query.GetTransactionGetReceipt().GetReceipt().GetStatus())
}
func transactionReceiptQuery_getMethod(_ request, channel *channel) method {
