Skip to content

Commit

Permalink
[tx_builder] ensure that block number and block hash are correspondin…
Browse files Browse the repository at this point in the history
…g to the same block
  • Loading branch information
clangenb committed Mar 20, 2024
1 parent eb42e6c commit db1ebd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/lib/service/tx/lib/src/tx_builder.dart
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class TxBuilder {
// fetch recent relevant data from chain
final runtimeVersion = await _getRuntimeVersion();
final blockNumber = await _getBlockNumber();
final blockHash = await _getBlockHash();
final blockHash = await _getBlockHash(blockNumber: blockNumber);
final genesisHash = await _getBlockHash(blockNumber: 0);
final accountInfo = await encointerKusama.query.system.account(pair.publicKey.bytes);

Expand Down

0 comments on commit db1ebd7

Please sign in to comment.