From 543f6ffc4255faf67dac51cb927372bb215e355e Mon Sep 17 00:00:00 2001 From: SIDANWhatever Date: Fri, 19 Apr 2024 11:50:46 +0800 Subject: [PATCH] fix: fixing type error in transaction detail --- models/transactions.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/models/transactions.go b/models/transactions.go index 35226ab..0cc7d58 100644 --- a/models/transactions.go +++ b/models/transactions.go @@ -36,10 +36,10 @@ type TransactionDetail struct { Metadata any `json:"metadata"` Mint []any `json:"mint"` Outputs []Utxo `json:"outputs"` - Redeemers []Redeemers `json:"redeemers"` + Redeemers Redeemers `json:"redeemers"` ReferenceInputs []any `json:"reference_inputs"` ScriptsExecuted []Script `json:"scripts_executed"` - ScriptsSuccesful bool `json:"scripts_succesful"` + ScriptsSuccessful bool `json:"scripts_successful"` Size int64 `json:"size"` TxHash string `json:"tx_hash"` Withdrawals []any `json:"withdrawals"`