From 54f32bc2432e9b1b6b5f1dc992abb1846f578e4c Mon Sep 17 00:00:00 2001 From: Jim Zhang Date: Tue, 22 Nov 2022 17:09:21 -0500 Subject: [PATCH] Add Errors to transaction input to support custom errors Signed-off-by: Jim Zhang --- pkg/ffcapi/api.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/ffcapi/api.go b/pkg/ffcapi/api.go index be8ea56b..3321973e 100644 --- a/pkg/ffcapi/api.go +++ b/pkg/ffcapi/api.go @@ -197,6 +197,7 @@ type TransactionInput struct { TransactionHeaders Method *fftypes.JSONAny `json:"method"` Params []*fftypes.JSONAny `json:"params"` + Errors []*fftypes.JSONAny `json:"errors"` } type TransactionHeaders struct {