Skip to content
This repository was archived by the owner on Jan 24, 2025. It is now read-only.

Commit fc100e2

Browse files
committed
Fix public key type conversion in CreateAccount
1 parent b457457 commit fc100e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/docker-network/tests/dockerframework.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ func (d *DockerTestFramework) CreateAccount(opts ...options.Option[builder.Accou
341341

342342
// transition to a full account with new Ed25519 address and staking feature
343343
accEd25519Addr, accPrivateKey := d.getAddress(iotago.AddressEd25519)
344-
accBlockIssuerKey := iotago.Ed25519PublicKeyHashBlockIssuerKeyFromPublicKey(hiveEd25519.PublicKey(accPrivateKey.Public().(hiveEd25519.PublicKey)))
344+
accBlockIssuerKey := iotago.Ed25519PublicKeyHashBlockIssuerKeyFromPublicKey(hiveEd25519.PublicKey(accPrivateKey.Public().(ed25519.PublicKey)))
345345
accountOutput := options.Apply(builder.NewAccountOutputBuilder(accEd25519Addr, implicitAccountOutput.BaseTokenAmount()),
346346
opts, func(b *builder.AccountOutputBuilder) {
347347
b.AccountID(accountID).

0 commit comments

Comments
 (0)