Skip to content

Commit

Permalink
Please doggo
Browse files Browse the repository at this point in the history
  • Loading branch information
jonastheis committed Mar 26, 2024
1 parent 040a1eb commit f43047c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/protocol/engine/utxoledger/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ func (m *Manager) ReadLedgerSlot() (iotago.SlotIndex, error) {
return m.ReadLedgerIndexWithoutLocking()
}

func (m *Manager) ApplyDiffWithoutLocking(slot iotago.SlotIndex, newOutputs Outputs, newSpents Spents) (newStateTreeRoot iotago.Identifier, error error) {
func (m *Manager) ApplyDiffWithoutLocking(slot iotago.SlotIndex, newOutputs Outputs, newSpents Spents) (newStateTreeRoot iotago.Identifier, err error) {
mutations, err := m.store.Batched()
if err != nil {
return iotago.EmptyIdentifier, err
Expand Down Expand Up @@ -239,7 +239,7 @@ func (m *Manager) ApplyDiffWithoutLocking(slot iotago.SlotIndex, newOutputs Outp
return root, nil
}

func (m *Manager) ApplyDiff(slot iotago.SlotIndex, newOutputs Outputs, newSpents Spents) (newStateTreeRoot iotago.Identifier, error error) {
func (m *Manager) ApplyDiff(slot iotago.SlotIndex, newOutputs Outputs, newSpents Spents) (newStateTreeRoot iotago.Identifier, err error) {
m.WriteLockLedger()
defer m.WriteUnlockLedger()

Expand Down

0 comments on commit f43047c

Please sign in to comment.