cake_wallet/scripts/prepare_moneroc.sh
cyan 0b06ad3a07
CW-702: fix mismatched amounts in multDest transactions (#1653)
* CW-702: fix mismatched amounts in multDest transactions

* separate txkeys in multdest transactions

* update monero_c dependency
2024-09-05 05:54:34 +03:00

31 lines
580 B
Bash
Executable file

#!/bin/bash
set -x -e
cd "$(dirname "$0")"
if [[ ! -d "monero_c" ]];
then
git clone https://github.com/mrcyjanek/monero_c --branch rewrite-wip
cd monero_c
git checkout 3cb38bee9385faf46b03fd73aab85f3ac4115bf7
git reset --hard
git submodule update --init --force --recursive
./apply_patches.sh monero
./apply_patches.sh wownero
else
cd monero_c
fi
if [[ ! -f "monero/.patch-applied" ]];
then
./apply_patches.sh monero
fi
if [[ ! -f "wownero/.patch-applied" ]];
then
./apply_patches.sh wownero
fi
cd ..
echo "monero_c source prepared".