Skip to content

Commit

Permalink
Remove unnecessary check for ChainAddress
Browse files Browse the repository at this point in the history
  • Loading branch information
muXxer committed Feb 27, 2024
1 parent b2b94bb commit aba1e88
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions builder/transaction_builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -731,11 +731,6 @@ func (b *TransactionBuilder) build(signEssence bool) (*iotago.SignedTransaction,

unlockedAtIndex, alreadyUnlocked := unlockedSet.signerUIDs[signerUID]
if !alreadyUnlocked {
// the output's owning chain address must have been unlocked already
if _, is := owner.(iotago.ChainAddress); is {
return nil, ierrors.Errorf("input %d's owning chain is not unlocked, chainID %s, type %s", inputIndex, owner.Bech32(b.api.ProtocolParameters().Bech32HRP()), owner.Type())
}

var err error
var signature iotago.Signature
if signEssence {
Expand Down

0 comments on commit aba1e88

Please sign in to comment.