@@ -46,7 +46,7 @@ type FulfillmentHandler interface {
4646 // to the blockchain. This is an optimization for the nonce pool. Implementations
4747 // should not modify the provided fulfillment record or selected nonce, but rather
4848 // use relevant fields to make the corresponding transaction.
49- MakeOnDemandTransaction (ctx context.Context , fulfillmentRecord * fulfillment.Record , selectedNonce * transaction_util.SelectedNonce ) (* solana.Transaction , error )
49+ MakeOnDemandTransaction (ctx context.Context , fulfillmentRecord * fulfillment.Record , selectedNonce * transaction_util.Nonce ) (* solana.Transaction , error )
5050
5151 // OnSuccess is a callback function executed on a finalized transaction.
5252 OnSuccess (ctx context.Context , fulfillmentRecord * fulfillment.Record , txnRecord * transaction.Record ) error
@@ -123,7 +123,7 @@ func (h *InitializeLockedTimelockAccountFulfillmentHandler) SupportsOnDemandTran
123123 return true
124124}
125125
126- func (h * InitializeLockedTimelockAccountFulfillmentHandler ) MakeOnDemandTransaction (ctx context.Context , fulfillmentRecord * fulfillment.Record , selectedNonce * transaction_util.SelectedNonce ) (* solana.Transaction , error ) {
126+ func (h * InitializeLockedTimelockAccountFulfillmentHandler ) MakeOnDemandTransaction (ctx context.Context , fulfillmentRecord * fulfillment.Record , selectedNonce * transaction_util.Nonce ) (* solana.Transaction , error ) {
127127 if fulfillmentRecord .FulfillmentType != fulfillment .InitializeLockedTimelockAccount {
128128 return nil , errors .New ("invalid fulfillment type" )
129129 }
@@ -268,7 +268,7 @@ func (h *NoPrivacyTransferWithAuthorityFulfillmentHandler) SupportsOnDemandTrans
268268 return true
269269}
270270
271- func (h * NoPrivacyTransferWithAuthorityFulfillmentHandler ) MakeOnDemandTransaction (ctx context.Context , fulfillmentRecord * fulfillment.Record , selectedNonce * transaction_util.SelectedNonce ) (* solana.Transaction , error ) {
271+ func (h * NoPrivacyTransferWithAuthorityFulfillmentHandler ) MakeOnDemandTransaction (ctx context.Context , fulfillmentRecord * fulfillment.Record , selectedNonce * transaction_util.Nonce ) (* solana.Transaction , error ) {
272272 virtualSignatureBytes , err := base58 .Decode (* fulfillmentRecord .VirtualSignature )
273273 if err != nil {
274274 return nil , err
@@ -444,7 +444,7 @@ func (h *NoPrivacyWithdrawFulfillmentHandler) SupportsOnDemandTransactions() boo
444444 return true
445445}
446446
447- func (h * NoPrivacyWithdrawFulfillmentHandler ) MakeOnDemandTransaction (ctx context.Context , fulfillmentRecord * fulfillment.Record , selectedNonce * transaction_util.SelectedNonce ) (* solana.Transaction , error ) {
447+ func (h * NoPrivacyWithdrawFulfillmentHandler ) MakeOnDemandTransaction (ctx context.Context , fulfillmentRecord * fulfillment.Record , selectedNonce * transaction_util.Nonce ) (* solana.Transaction , error ) {
448448 virtualSignatureBytes , err := base58 .Decode (* fulfillmentRecord .VirtualSignature )
449449 if err != nil {
450450 return nil , err
@@ -634,7 +634,7 @@ func (h *CloseEmptyTimelockAccountFulfillmentHandler) SupportsOnDemandTransactio
634634 return true
635635}
636636
637- func (h * CloseEmptyTimelockAccountFulfillmentHandler ) MakeOnDemandTransaction (ctx context.Context , fulfillmentRecord * fulfillment.Record , selectedNonce * transaction_util.SelectedNonce ) (* solana.Transaction , error ) {
637+ func (h * CloseEmptyTimelockAccountFulfillmentHandler ) MakeOnDemandTransaction (ctx context.Context , fulfillmentRecord * fulfillment.Record , selectedNonce * transaction_util.Nonce ) (* solana.Transaction , error ) {
638638 if fulfillmentRecord .FulfillmentType != fulfillment .CloseEmptyTimelockAccount {
639639 return nil , errors .New ("invalid fulfillment type" )
640640 }
0 commit comments