mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-30 14:36:06 +00:00
fix tx history not persisting + update build_mwebd script
This commit is contained in:
parent
9a85780137
commit
7869334d46
2 changed files with 11 additions and 2 deletions
|
@ -217,6 +217,7 @@ abstract class LitecoinWalletBase extends ElectrumWallet with Store {
|
||||||
|
|
||||||
@override
|
@override
|
||||||
Future<void> init() async {
|
Future<void> init() async {
|
||||||
|
await transactionHistory.init();
|
||||||
await initMwebUtxosBox();
|
await initMwebUtxosBox();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,14 @@
|
||||||
|
# install go > 1.21:
|
||||||
|
wget https://go.dev/dl/go1.22.4.linux-amd64.tar.gz
|
||||||
|
sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go1.22.4.linux-amd64.tar.gz
|
||||||
|
export PATH=$PATH:/usr/local/go/bin
|
||||||
|
export PATH=$PATH:~/go/bin
|
||||||
|
go install golang.org/x/mobile/cmd/gomobile@latest
|
||||||
|
gomobile init
|
||||||
|
# build mwebd:
|
||||||
git clone https://github.com/ltcmweb/mwebd
|
git clone https://github.com/ltcmweb/mwebd
|
||||||
cd mwebd
|
cd mwebd
|
||||||
go install github.com/ltcmweb/mwebd/cmd/mwebd@latest
|
go install github.com/ltcmweb/mwebd/cmd/mwebd
|
||||||
gomobile bind -target=android -androidapi 21 github.com/ltcmweb/mwebd
|
gomobile bind -target=android -androidapi 21 github.com/ltcmweb/mwebd
|
||||||
mkdir -p ../../../cw_mweb/android/libs/
|
mkdir -p ../../../cw_mweb/android/libs/
|
||||||
mv ./mwebd.aar $_
|
mv ./mwebd.aar $_
|
||||||
|
|
Loading…
Reference in a new issue