Skip to content

Commit

Permalink
Update pkg/protocol/engine/ledger/ledger/ledger.go
Browse files Browse the repository at this point in the history
Co-authored-by: muXxer <[email protected]>
  • Loading branch information
PhilippGackstatter and muXxer authored Oct 2, 2023
1 parent 1e026aa commit 0c2bef5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/protocol/engine/ledger/ledger/ledger.go
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@ func (l *Ledger) processCreatedAndConsumedAccountOutputs(stateDiff mempool.State

createdAccounts[accountID] = createdOutput
case iotago.OutputDelegation:
// The Delegation Output output was created or transitioned => determine later if we need to add the stake to the validator.
// The DelegationOutput was created or transitioned => determine later if we need to add the stake to the validator.
delegationOutput, _ := createdOutput.Output().(*iotago.DelegationOutput)
delegationID := delegationOutput.DelegationID
// Check if the output was newly created or if it was transitioned to delayed claiming.
Expand Down

0 comments on commit 0c2bef5

Please sign in to comment.