From 38d405ad3082151032ad6470f12b7c0445d57e4d Mon Sep 17 00:00:00 2001 From: Cyrix126 <58007246+Cyrix126@users.noreply.github.com> Date: Wed, 24 Apr 2024 16:09:16 +0200 Subject: [PATCH] fix failing test should_have_correct_address The assertion was originally looking for a bch Mainnet address when the test was creating a bch Testnet address. This pull request fix the test by comparing the generated address with a bch Testnet address. --- protocol/src/contract/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocol/src/contract/mod.rs b/protocol/src/contract/mod.rs index c1697b9..3efb5f6 100644 --- a/protocol/src/contract/mod.rs +++ b/protocol/src/contract/mod.rs @@ -236,7 +236,7 @@ mod test { assert_eq!( refund.cash_address(), - "bitcoincash:prmnwxmmaq58h22jt7qrjmutnkrmrfm4j57zy4cf45" + "bchtest:prmnwxmmaq58h22jt7qrjmutnkrmrfm4j56sqj67jg" ); } }