mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-11-17 09:47:37 +00:00
update to use new block data callback
This commit is contained in:
parent
0c1db6f249
commit
4c25a88c32
3 changed files with 5 additions and 3 deletions
|
@ -1 +1 @@
|
|||
Subproject commit 66eaa2f3c7133f1dbf0b1fc950e7a9e3cc611185
|
||||
Subproject commit f1031db5bb67b38d028187f0ead192acb3e9ba55
|
|
@ -954,11 +954,12 @@ class MoneroWallet extends CoinServiceAPI with WalletCache, WalletDB {
|
|||
DefaultNodes.getNodeFor(coin);
|
||||
}
|
||||
|
||||
void onNewBlock() {
|
||||
void onNewBlock({required int height, required int blocksLeft}) {
|
||||
//
|
||||
print("=============================");
|
||||
print("New Block! :: $walletName");
|
||||
print("=============================");
|
||||
updateCachedChainHeight(height);
|
||||
_refreshTxDataHelper();
|
||||
}
|
||||
|
||||
|
|
|
@ -1022,11 +1022,12 @@ class WowneroWallet extends CoinServiceAPI with WalletCache, WalletDB {
|
|||
DefaultNodes.getNodeFor(coin);
|
||||
}
|
||||
|
||||
void onNewBlock() {
|
||||
void onNewBlock({required int height, required int blocksLeft}) {
|
||||
//
|
||||
print("=============================");
|
||||
print("New Wownero Block! :: $walletName");
|
||||
print("=============================");
|
||||
updateCachedChainHeight(height);
|
||||
_refreshTxDataHelper();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue