From f315c7579c46adfc934daa4a4b36540944abf9e0 Mon Sep 17 00:00:00 2001 From: Philipp Gackstatter Date: Tue, 12 Mar 2024 13:38:53 +0800 Subject: [PATCH] Fix wrap order in sender feature unlock --- vm/vm.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vm/vm.go b/vm/vm.go index 13a8da3ea..930eca145 100644 --- a/vm/vm.go +++ b/vm/vm.go @@ -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) } }