mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-22 10:34:32 +00:00
optional nonce
This commit is contained in:
parent
87a146b5a4
commit
49e5641c3e
1 changed files with 2 additions and 2 deletions
|
@ -46,7 +46,7 @@ class EthTokenTxExtraDTO {
|
||||||
),
|
),
|
||||||
gas: _amountFromJsonNum(map['gas']),
|
gas: _amountFromJsonNum(map['gas']),
|
||||||
gasPrice: _amountFromJsonNum(map['gasPrice']),
|
gasPrice: _amountFromJsonNum(map['gasPrice']),
|
||||||
nonce: map['nonce'] as int,
|
nonce: map['nonce'] as int?,
|
||||||
input: map['input'] as String,
|
input: map['input'] as String,
|
||||||
gasCost: _amountFromJsonNum(map['gasCost']),
|
gasCost: _amountFromJsonNum(map['gasCost']),
|
||||||
gasUsed: _amountFromJsonNum(map['gasUsed']),
|
gasUsed: _amountFromJsonNum(map['gasUsed']),
|
||||||
|
@ -63,7 +63,7 @@ class EthTokenTxExtraDTO {
|
||||||
final Amount gas;
|
final Amount gas;
|
||||||
final Amount gasPrice;
|
final Amount gasPrice;
|
||||||
final String input;
|
final String input;
|
||||||
final int nonce;
|
final int? nonce;
|
||||||
final Amount gasCost;
|
final Amount gasCost;
|
||||||
final Amount gasUsed;
|
final Amount gasUsed;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue