Browse Source
add darwin cond
fix OSX specific bug by statically casting datatype
pull/4/head
ca333
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
6 additions and
0 deletions
-
src/wallet/asyncrpcoperation_shieldcoinbase.cpp
|
|
@ -344,8 +344,14 @@ UniValue AsyncRPCOperation_shieldcoinbase::perform_joinsplit(ShieldCoinbaseJSInf |
|
|
|
{info.vjsin[0], info.vjsin[1]}; |
|
|
|
boost::array<libzcash::JSOutput, ZC_NUM_JS_OUTPUTS> outputs |
|
|
|
{info.vjsout[0], info.vjsout[1]}; |
|
|
|
|
|
|
|
#ifdef __LP64__ |
|
|
|
boost::array<uint64_t, ZC_NUM_JS_INPUTS> inputMap; |
|
|
|
boost::array<uint64_t, ZC_NUM_JS_OUTPUTS> outputMap; |
|
|
|
#else |
|
|
|
boost::array<size_t, ZC_NUM_JS_INPUTS> inputMap; |
|
|
|
boost::array<size_t, ZC_NUM_JS_OUTPUTS> outputMap; |
|
|
|
#endif |
|
|
|
|
|
|
|
uint256 esk; // payment disclosure - secret
|
|
|
|
|
|
|
|