Skip to content

Commit fd59b34

Browse files
committed
Fix wallet tests
1 parent e2256c0 commit fd59b34

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

node/tests/wallet_tests.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ async fn it_should_create_and_fund_wallet(rig: &TestRig) -> anyhow::Result<()> {
3232

3333
let balance = rig.spaced.client.wallet_get_balance(name).await?;
3434
assert_eq!(
35-
balance.confirmed.total,
35+
balance.balance,
3636
Amount::from_sat(1000_000),
3737
"expected balance to match"
3838
);
@@ -56,7 +56,7 @@ async fn it_should_handle_simple_reorg(rig: &TestRig) -> anyhow::Result<()> {
5656

5757
let balance = rig.spaced.client.wallet_get_balance(name).await?;
5858
assert_eq!(
59-
balance.confirmed.total,
59+
balance.balance,
6060
Amount::from_sat(0),
6161
"expected balance to match"
6262
);
@@ -67,7 +67,7 @@ async fn it_should_handle_simple_reorg(rig: &TestRig) -> anyhow::Result<()> {
6767

6868
let balance = rig.spaced.client.wallet_get_balance(name).await?;
6969
assert_eq!(
70-
balance.confirmed.total,
70+
balance.balance,
7171
Amount::from_sat(1000_000),
7272
"expected balance to match"
7373
);

0 commit comments

Comments
 (0)