xclud / web3dart

Ethereum library, written in Dart.
https://pub.dev/packages/web3dart
MIT License
170 stars 94 forks source link

TransactionInformation ( type 'Null' is not ... ) before confirmed transaction #53

Closed mrtnetwork closed 1 year ago

mrtnetwork commented 2 years ago

blockHash must be null before confirmed transaction

TransactionInformation.fromMap(Map<String, dynamic> map)
      : blockHash = map['blockHash'] as String, // should be as String?

You might want to fix it :)

TheGreatAxios commented 2 years ago

@MohsenHaydari Can you submit a PR?

xclud commented 1 year ago

This is fixed now.