Skip to content

Commit

Permalink
Fix delegation: no epochEnd needed
Browse files Browse the repository at this point in the history
  • Loading branch information
daria305 committed Jan 31, 2024
1 parent 73f1def commit 928333d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkg/accountmanager/delegation.go
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,6 @@ func (m *Manager) createDelegationOutputs(wallet *Wallet, inputAmount iotago.Bas
delegationOutput, err := builder.NewDelegationOutputBuilder(accountAddress, ownerAddress, delegatedAmount).
DelegatedAmount(delegatedAmount).
StartEpoch(m.delegationStart(api, issuingSlot, commitmentID.Slot())).
EndEpoch(m.delegationEnd(api, issuingSlot, commitmentID.Slot())).
Build()
if err != nil {
return nil, ierrors.Wrap(err, "failed to build delegation output")
Expand Down

0 comments on commit 928333d

Please sign in to comment.