Skip to content

Commit

Permalink
Use String() for account ids for alias support
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippGackstatter committed Mar 13, 2024
1 parent 62c1dd7 commit 74f8cf1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vm/nova/vm.go
Original file line number Diff line number Diff line change
Expand Up @@ -798,14 +798,14 @@ func foundryGenesisValid(vmParams *vm.Params, current *iotago.FoundryOutput, thi
inAccount, ok := vmParams.WorkingSet.InChains[accountID]
if !ok {
return ierrors.WithMessagef(iotago.ErrFoundryTransitionWithoutAccount,
"missing input transitioning account output %s for new foundry output %s", accountID.ToHex(), thisFoundryID.ToHex(),
"missing input transitioning account output %s for new foundry output %s", accountID, thisFoundryID.ToHex(),
)
}

outAccount, ok := vmParams.WorkingSet.OutChains[accountID]
if !ok {
return ierrors.WithMessagef(iotago.ErrFoundryTransitionWithoutAccount,
"missing output transitioning account output %s for new foundry output %s", accountID.ToHex(), thisFoundryID.ToHex(),
"missing output transitioning account output %s for new foundry output %s", accountID, thisFoundryID.ToHex(),
)
}

Expand Down

0 comments on commit 74f8cf1

Please sign in to comment.