aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2017-12-07 10:56:14 +0800
committerFabio Berger <me@fabioberger.com>2017-12-07 10:56:14 +0800
commitfae0651b0c31cc7587766cc71bbefeade93cab93 (patch)
treedc8cae73d22ee99305478327433b503cf25efc5f
parent720641f14ca2f99d91b5df55fb11be003d19e7e6 (diff)
downloaddexon-sol-tools-fae0651b0c31cc7587766cc71bbefeade93cab93.tar.gz
dexon-sol-tools-fae0651b0c31cc7587766cc71bbefeade93cab93.tar.zst
dexon-sol-tools-fae0651b0c31cc7587766cc71bbefeade93cab93.zip
remove unneeded type assertions
-rw-r--r--packages/subproviders/test/unit/ledger_subprovider_test.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/subproviders/test/unit/ledger_subprovider_test.ts b/packages/subproviders/test/unit/ledger_subprovider_test.ts
index 41c743346..f774c8ac9 100644
--- a/packages/subproviders/test/unit/ledger_subprovider_test.ts
+++ b/packages/subproviders/test/unit/ledger_subprovider_test.ts
@@ -35,7 +35,7 @@ describe('LedgerSubprovider', () => {
};
},
signPersonalMessage_async: async () => {
- const ecSignature: ECSignature = {
+ const ecSignature = {
v: 28,
r: 'a6cc284bff14b42bdf5e9286730c152be91719d478605ec46b3bebcd0ae49148',
s: '0652a1a7b742ceb0213d1e744316e285f41f878d8af0b8e632cbca4c279132d0',
@@ -43,7 +43,7 @@ describe('LedgerSubprovider', () => {
return ecSignature;
},
signTransaction_async: async (derivationPath: string, txHex: string) => {
- const ecSignature: ECSignatureString = {
+ const ecSignature = {
v: '77',
r: '88a95ef1378487bc82be558e82c8478baf840c545d5b887536bb1da63673a98b',
s: '019f4a4b9a107d1e6752bf7f701e275f28c13791d6e76af895b07373462cefaa',