Skip to content
This repository was archived by the owner on Feb 12, 2025. It is now read-only.

Commit fe908ee

Browse files
Merge pull request #787 from LedgerHQ/hzheng-ledger-patch-1
Add some debug log
2 parents e0896bb + d8d1a77 commit fe908ee

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

core/src/wallet/bitcoin/BitcoinLikeAccount.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,9 @@ namespace ledger {
114114

115115
void BitcoinLikeAccount::interpretTransaction(const BitcoinLikeBlockchainExplorerTransaction& transaction,
116116
std::vector<Operation>& out, bool needExtendKeychain) {
117-
bool shouldPrint = _keychain->getCurrency().name == "stakenet";
117+
std::cout << "interpretTransaction:" <<std::endl;
118+
std::cout << getWallet()->getCurrency().name <<std::endl;
119+
bool shouldPrint = getWallet()->getCurrency().name == "stakenet";
118120
if (shouldPrint)
119121
std::cout << "account transaction intepretation begin!" << std::endl;
120122
auto nodeIndex = std::const_pointer_cast<const BitcoinLikeKeychain>(_keychain)->getFullDerivationScheme().getPositionForLevel(DerivationSchemeLevel::NODE);

0 commit comments

Comments
 (0)