From f64fb8bd1a33b67cf3468686ac0049fc244b840a Mon Sep 17 00:00:00 2001 From: Andrew Date: Tue, 19 Sep 2023 10:22:31 +0100 Subject: [PATCH] fix commitment filter --- .../engine/commitmentfilter/accountsfilter/commitmentfilter.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/protocol/engine/commitmentfilter/accountsfilter/commitmentfilter.go b/pkg/protocol/engine/commitmentfilter/accountsfilter/commitmentfilter.go index 2c0d0a216..dc7a23637 100644 --- a/pkg/protocol/engine/commitmentfilter/accountsfilter/commitmentfilter.go +++ b/pkg/protocol/engine/commitmentfilter/accountsfilter/commitmentfilter.go @@ -159,7 +159,7 @@ func (c *CommitmentFilter) evaluateBlock(block *blocks.Block) { var hasAddress = false accountData.BlockIssuerKeys.Range(func(element iotago.BlockIssuerKey) { if keyAddress, isAddress := element.(iotago.BlockIssuerKeyEd25519Address); isAddress { - if keyAddress.Address.Equal(iotago.Ed25519AddressFromPubKey(signature.PublicKey[:])) { + if keyAddress.Address.Equal(iotago.ImplicitAccountCreationAddressFromPubKey(signature.PublicKey[:])) { hasAddress = true } }