diff --git a/pkg/bee/client.go b/pkg/bee/client.go index a43acae3..6e8fc6bc 100644 --- a/pkg/bee/client.go +++ b/pkg/bee/client.go @@ -512,6 +512,8 @@ func (c *Client) GetOrCreateMutableBatch(ctx context.Context, postageTTL time.Du c.log.Warningf("invalid chain price: %v", price) } + c.log.Debugf("calculated mutable batch: amount '%d', label '%s', price '%d', block time '%d', ttl '%s'", amount, label, price, blockTime, postageTTL) + batches, err := c.PostageBatches(ctx) if err != nil { return "", fmt.Errorf("get postage batches: %w", err) diff --git a/pkg/config/check.go b/pkg/config/check.go index 13009b50..a3844612 100644 --- a/pkg/config/check.go +++ b/pkg/config/check.go @@ -418,7 +418,7 @@ var Checks = map[string]CheckType{ checkOpts := new(struct { ContentSize *int64 `yaml:"content-size"` RndSeed *int64 `yaml:"rnd-seed"` - PostageAmount *int64 `yaml:"postage-amount"` + PostageTTL *time.Duration `yaml:"postage-ttl"` PostageDepth *uint64 `yaml:"postage-depth"` PostageLabel *string `yaml:"postage-label"` GasPrice *string `yaml:"gas-price"`