Skip to content

Commit

Permalink
Use address from litecoind for generatetoaddress
Browse files Browse the repository at this point in the history
  • Loading branch information
kayabaNerve committed May 13, 2024
1 parent 2b4f850 commit 9b49460
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ci/setup-coins/litecoin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,12 @@ sleep 10
./electrum-ltc/run_electrum create
./electrum-ltc/run_electrum load_wallet

address="$(./electrum-ltc/run_electrum getunusedaddress)"
./litecoin-node/bin/litecoin-cli --rpcport=19443 -rpcuser=ci -rpcpassword=password createwallet ""
address="$(./litecoin-node/bin/litecoin-cli --rpcport=19443 -rpcuser=ci -rpcpassword=password getnewaddress)"
./litecoin-node/bin/litecoin-cli --rpcport=19443 -rpcuser=ci -rpcpassword=password generatetoaddress 110 "$address"

./litecoin-node/bin/litecoin-cli --rpcport=19443 -rpcuser=ci -rpcpassword=password sendtoaddress "$(./electrum-ltc/run_electrum getunusedaddress)" 100

destination="$(./electrum-ltc/run_electrum getunusedaddress)"
refund="$(./electrum-ltc/run_electrum getunusedaddress)"

Expand Down

0 comments on commit 9b49460

Please sign in to comment.