Skip to content

Commit

Permalink
disable-wallet fix (#1390)
Browse files Browse the repository at this point in the history
  • Loading branch information
levonpetrosyan93 authored Jan 10, 2024
1 parent ab389d8 commit 74ed9b8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,7 @@ libbitcoin_server_a_SOURCES = \
versionbits.cpp \
sigma.cpp \
lelantus.cpp \
bip47/paymentcode.cpp \
spark/state.cpp \
spark/primitives.cpp \
coin_containers.cpp \
Expand Down
2 changes: 2 additions & 0 deletions src/qt/bitcoingui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1417,8 +1417,10 @@ void BitcoinGUI::checkLelantusVisibility(int numBlocks)
lelantusAction->setVisible(allowLelantusPage);
}

#ifdef ENABLE_WALLET
if (numBlocks == ::Params().GetConsensus().nSparkStartBlock)
walletFrame->updateAddressbook();
#endif // ENABLE_WALLET
}

void BitcoinGUI::toggleNetworkActive()
Expand Down

0 comments on commit 74ed9b8

Please sign in to comment.