Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
MultiEd25519PublicKey.serialize should use value()
  • Loading branch information
wk3368 committed Oct 28, 2021
1 parent 539d58c commit f4d2669
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/lib/runtime/starcoin_types/index.ts
Expand Up @@ -486,11 +486,7 @@ export class MultiEd25519PublicKey {
}

public serialize(serializer: Serializer): void {
serializer.serializeLen(this.public_keys.length);
this.public_keys.forEach((pub) => {
pub.serialize(serializer)
})
serializer.serializeU8(this.threshold);
serializer.serializeBytes(this.value());
}

static deserialize(deserializer: Deserializer): MultiEd25519PublicKey {
Expand Down

0 comments on commit f4d2669

Please sign in to comment.