mastercoin-MSC / mastercore

mastercore info
mastercoin.org
MIT License
24 stars 11 forks source link

Fix startup Exodus balance #241

Closed zathras-crypto closed 9 years ago

zathras-crypto commented 9 years ago

As per notes on skype, printf %lu results in incorrect exodus balance display on windows. Also labelled the two balance displays (as otherwise just looks like duplicate printf).

zathras-crypto commented 9 years ago

Master Core server starting mastercore_init(), line 2409, file: mastercore.cpp CMPTradeList(): OK, line 337, file: mastercore.h CMPTxList(): OK, line 394, file: mastercore.h [Snapshot] Exodus balance: 15053.56126505 [Initialized] Exodus balance: 15053.56126505

dexX7 commented 9 years ago

Yeah, Win x64 requires "%llu" and long long int instead of long int. The later isn't used at all (I hope!). This is a nice workaround. :)

I still stick to the question: why print this at all? :P