diff --git a/address_ed25519.gen.go b/address_ed25519.gen.go index e8d9ca3a2..f3c259331 100644 --- a/address_ed25519.gen.go +++ b/address_ed25519.gen.go @@ -43,7 +43,7 @@ func (addr *Ed25519Address) ID() []byte { } func (addr *Ed25519Address) Key() string { - return string(addr.ID()) + return string(addr.ID()[serializer.SmallTypeDenotationByteSize:]) } func (addr *Ed25519Address) Unlock(msg []byte, sig Signature) error { diff --git a/address_implicit_account_creation.gen.go b/address_implicit_account_creation.gen.go index a008edfc1..9cb93c0aa 100644 --- a/address_implicit_account_creation.gen.go +++ b/address_implicit_account_creation.gen.go @@ -39,7 +39,7 @@ func (addr *ImplicitAccountCreationAddress) ID() []byte { } func (addr *ImplicitAccountCreationAddress) Key() string { - return string(addr.ID()) + return string(addr.ID()[serializer.SmallTypeDenotationByteSize:]) } func (addr *ImplicitAccountCreationAddress) Unlock(msg []byte, sig Signature) error {