wownero
/
wownerujo
Archived
4
0
Fork 0

fix namespace

openssl-1.1.0
fuwa 6 years ago
parent f0300794c9
commit bd9bf2c609

@ -639,7 +639,7 @@ Java_com_wownero_wownerujo_model_Wallet_initJ(JNIEnv *env, jobject instance,
// virtual bool createWatchOnly(const std::string &path, const std::string &password, const std::string &language) const = 0;
JNIEXPORT void JNICALL
Java_com_m2049r_xmrwallet_model_Wallet_setRestoreHeight(JNIEnv *env, jobject instance,
Java__com_wownero_wownerujo_model_Wallet_setRestoreHeight(JNIEnv *env, jobject instance,
jlong height) {
Bitmonero::Wallet *wallet = getHandle<Bitmonero::Wallet>(env, instance);
wallet->setRefreshFromBlockHeight((uint64_t) height);

@ -80,6 +80,7 @@ public class WalletManager {
if (wallet.getStatus() == Wallet.Status.Status_Ok) {
// (Re-)Estimate restore height based on what we know
long oldHeight = wallet.getRestoreHeight();
Timber.d("Changing Restore Height from %d to %d", oldHeight, wallet.getRestoreHeight());
wallet.setRestoreHeight(RestoreHeight.getInstance().getHeight(new Date()));
Timber.d("Changed Restore Height from %d to %d", oldHeight, wallet.getRestoreHeight());
wallet.setPassword(password); // this rewrites the keys file (which contains the restore height)

@ -8,15 +8,15 @@ base_dir=`pwd`
cd $EXTERNAL_LIBS_BUILD_ROOT
# version="v0.2.2.0"
version="v0.2.2.0"
# url="https://github.com/wownero/wownero"
# branch-release-v0.3.0.0 (ring size 22)
# version="48bcb9"
# url="$base_dir/vendor/wownero"
url="https://github.com/wowario/wownero"
version="927f04"
url="$base_dir/vendor/wownero"
# url="https://github.com/wowario/wownero"
# version="927f04"
rm -rf wownero