Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] annoying debug build bug #27

Closed
ghost opened this issue Mar 6, 2022 · 1 comment
Closed

[bug] annoying debug build bug #27

ghost opened this issue Mar 6, 2022 · 1 comment
Labels
◼ Type: Bug This issue relates to an encountered bug.

Comments

@ghost
Copy link

ghost commented Mar 6, 2022

🐛 BUG REPORT

Expected Behavior
The debug build command make debug --jobs=$(nproc) should build successfully with no changes after cloning the build tree.

Current Behavior
The debug build errors out at xcash-core/src/debug_utilities/object_sizes.cpp, not recognizing 'X-CASH'. Likely a global search/replace residual.

Possible Solution
Lines 112-117 should be changed from:

  SL(X-CASH::WalletImpl);
  SL(X-CASH::AddressBookRow);
  SL(X-CASH::TransactionInfoImpl);
  SL(X-CASH::TransactionHistoryImpl);
  SL(X-CASH::PendingTransactionImpl);
  SL(X-CASH::UnsignedTransactionImpl);

to

  SL(XCash::WalletImpl);
  SL(XCash::AddressBookRow);
  SL(XCash::TransactionInfoImpl);
  SL(XCash::TransactionHistoryImpl);
  SL(XCash::PendingTransactionImpl);
  SL(XCash::UnsignedTransactionImpl);

to match the correct XCash namespace.

Steps to Reproduce (for bugs)
type 'make debug'

Context
Having a debug build fail is annoying. :)

Your Environment
Ubuntu 20.04

@ghost ghost added the ◼ Type: Bug This issue relates to an encountered bug. label Mar 6, 2022
@zachhildreth
Copy link
Member

Thanks @CygnusMiner for finding this!

The fix provided above did work, and I will include this in the next testnet update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
◼ Type: Bug This issue relates to an encountered bug.
Projects
None yet
Development

No branches or pull requests

1 participant