From bcba17a9e76e9ff7867e3d8e32a508fc1582e003 Mon Sep 17 00:00:00 2001 From: Richard Moore Date: Wed, 12 Dec 2018 16:56:50 -0500 Subject: [PATCH] Allow nonce to be a BigNumber (#228). --- src.ts/providers/abstract-provider.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src.ts/providers/abstract-provider.ts b/src.ts/providers/abstract-provider.ts index 08c21689..09a5460b 100644 --- a/src.ts/providers/abstract-provider.ts +++ b/src.ts/providers/abstract-provider.ts @@ -78,7 +78,7 @@ export interface TransactionReceipt { export type TransactionRequest = { to?: string | Promise, from?: string | Promise, - nonce?: number | string | Promise, + nonce?: BigNumberish | Promise, gasLimit?: BigNumberish | Promise, gasPrice?: BigNumberish | Promise,