From c88d9cf1efc7a0343b45e80bfd1a12e1812812c0 Mon Sep 17 00:00:00 2001 From: bendanzhentan <455462586@qq.com> Date: Fri, 8 Dec 2023 11:24:25 +0800 Subject: [PATCH] feat(core/types): change FailureReason to *string --- core/types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/types.go b/core/types.go index 3577880..801d7e4 100644 --- a/core/types.go +++ b/core/types.go @@ -22,5 +22,5 @@ type DBWithdrawal struct { FinalizedTime *int64 `gorm:"type:integer;index:idx_withdrawals_finalized_time"` // FailureReason is the reason for the withdrawal failure, including sending transaction error and off-chain configured filter error. NULL if not yet failed. - FailureReason string `gorm:"type:text"` + FailureReason *string `gorm:"type:text"` }