Skip to content

Commit

Permalink
chore: remove debugging code
Browse files Browse the repository at this point in the history
  • Loading branch information
thesimplekid committed Feb 23, 2025
1 parent fcf9eaf commit 039a6e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion crates/cdk/src/mint/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ impl Mint {
let mut join_set = JoinSet::new();

for (key, ln) in self.ln.iter() {
if !ln.is_wait_invoice_active() && key.unit != CurrencyUnit::Usd {
if !ln.is_wait_invoice_active() {
tracing::info!("Wait payment for {:?} inactive starting.", key);
let mint = Arc::clone(&mint_arc);
let ln = Arc::clone(ln);
Expand Down
8 changes: 1 addition & 7 deletions misc/mintd_payment_processor.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,6 @@ cleanup() {
wait $cdk_regtest_pid

echo "Mint binary terminated"
# # Kill processes
# lncli --lnddir="$cdk_itests/lnd/one" --network=regtest stop
# lncli --lnddir="$cdk_itests/lnd/two" --network=regtest --rpcserver=localhost:10010 stop
# lightning-cli --regtest --lightning-dir="$cdk_itests/cln/one/" stop
# lightning-cli --regtest --lightning-dir="$cdk_itests/cln/two/" stop
# bitcoin-cli --datadir="$cdk_itests/bitcoin" -rpcuser=testuser -rpcpassword=testpass -rpcport=18443 stop

# Remove the temporary directory
rm -rf "$cdk_itests"
Expand Down Expand Up @@ -107,7 +101,7 @@ export CDK_MINTD_LISTEN_PORT=$cdk_itests_mint_port_0;
export CDK_MINTD_LN_BACKEND="grpc";
export CDK_MINTD_GRPC_PAYMENT_PROCESSOR_ADDRESS="http://127.0.0.1";
export CDK_MINTD_GRPC_PAYMENT_PROCESSOR_PORT="8090";
export CDK_MINTD_GRPC_PAYMENT_PROCESSOR_SUPPORTED_UNITS="sat,usd";
export CDK_MINTD_GRPC_PAYMENT_PROCESSOR_SUPPORTED_UNITS="sat";
export CDK_MINTD_MNEMONIC="eye survey guilt napkin crystal cup whisper salt luggage manage unveil loyal";

cargo run --bin cdk-mintd &
Expand Down

0 comments on commit 039a6e1

Please sign in to comment.