From 246c482323a2724e50c986662461c95ca4f99357 Mon Sep 17 00:00:00 2001 From: Jaco Greeff Date: Mon, 29 Oct 2018 15:18:34 +0100 Subject: [PATCH] Seal.slot as U64 (#363) --- packages/types/src/Digest.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/types/src/Digest.ts b/packages/types/src/Digest.ts index 47424ece8b..6d6a0df4ed 100644 --- a/packages/types/src/Digest.ts +++ b/packages/types/src/Digest.ts @@ -10,7 +10,7 @@ import AuthorityId from './AuthorityId'; import Bytes from './Bytes'; import Hash from './Hash'; import Signature from './Signature'; -import U32 from './U32'; +import U64 from './U64'; class AuthoritiesChange extends Vector.with(AuthorityId) { } @@ -24,7 +24,7 @@ class Other extends Bytes { class Seal extends Tuple { constructor (value: any) { super({ - slot: U32, + slot: U64, signature: Signature }, value); } @@ -33,8 +33,8 @@ class Seal extends Tuple { return this.get('signature') as Signature; } - get slot (): U32 { - return this.get('slot') as U32; + get slot (): U64 { + return this.get('slot') as U64; } }