Skip to content

Commit

Permalink
Fix wrap order in sender feature unlock
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippGackstatter committed Mar 12, 2024
1 parent 330e0e9 commit f315c75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vm/vm.go
Original file line number Diff line number Diff line change
Expand Up @@ -675,7 +675,7 @@ func ExecFuncSenderUnlocked() ExecFunc {
// check unlocked
sender := resolveUnderlyingAddress(senderFeat.Address)
if _, isUnlocked := vmParams.WorkingSet.UnlockedAddrs[sender.Key()]; !isUnlocked {
return ierrors.WithMessagef(iotago.ErrSenderFeatureNotUnlocked, "output %d", outputIndex)
return ierrors.Wrapf(iotago.ErrSenderFeatureNotUnlocked, "output %d", outputIndex)
}
}

Expand Down

0 comments on commit f315c75

Please sign in to comment.