Skip to content

Commit 2864e4f

Browse files
fix: missing omitempty for nillable target
1 parent 47f4953 commit 2864e4f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

deployment/pkg/ops/ton/fund_contract.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ type FundContractsInput struct {
5454
// If Mode is FundModeTopUp, this is the target balance for the contract after funding (i.e. current balance will be topped up to reach this amount).
5555
Amount string `json:"amount"`
5656
// Target specifies which contracts to fund. If TargetAll, both CCIP and MCMS contracts will be funded. If TargetCcip, only CCIP contracts (Router, OnRamp, OffRamp, FeeQuoter) will be funded. If TargetMcms, only MCMS contracts (Owner MCMS, RMN MCMS) will be funded. If nil, defaults to TargetAll.
57-
Target *Target `json:"target"`
57+
Target *Target `json:"target,omitempty"`
5858

5959
Plan bool `json:"plan"`
6060
}

0 commit comments

Comments
 (0)