Skip to content

Commit

Permalink
fix commitment filter
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberphysic4l committed Sep 19, 2023
1 parent d564fbd commit f64fb8b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
Expand Down

0 comments on commit f64fb8b

Please sign in to comment.