Skip to content

Commit

Permalink
fix: fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
zensh committed Jan 3, 2024
1 parent 81d50d2 commit 388a022
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion crates/ns-inscriber/src/bitcoin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ mod tests {
let rpcurl = std::env::var("BITCOIN_RPC_URL").unwrap();
let rpcuser = std::env::var("BITCOIN_RPC_USER").unwrap_or_default();
let rpcpassword = std::env::var("BITCOIN_RPC_PASSWORD").unwrap_or_default();
let rpctoken = std::env::var("BITCOIN_RPC_PASSWORD").unwrap_or_default();
let rpctoken = std::env::var("BITCOIN_RPC_TOKEN").unwrap_or_default();

let cli = BitcoinRPC::new(&BitCoinRPCOptions {
rpcurl,
Expand Down
1 change: 1 addition & 0 deletions sample.env
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ BITCOIN_NETWORK=regtest
BITCOIN_RPC_URL=http://127.0.0.1:18443
BITCOIN_RPC_USER=test
BITCOIN_RPC_PASSWORD=123456
BITCOIN_RPC_TOKEN=""

# ns-indexer env
INDEXER_SERVER_WORKER_THREADS=0 # defaults to the number of cpus on the system
Expand Down

0 comments on commit 388a022

Please sign in to comment.