Skip to content

Commit 80bf744

Browse files
committed
test: don't assert the value returned by relay_fee
Changed `test_relay_fee` to no longer assert the value of min relay fee, and instead assert that the value is non-zero. This fixes a test failure likely due to some nodes now having a smaller default min relay fee (100sat).
1 parent 0e28021 commit 80bf744

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/raw_client.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1249,7 +1249,7 @@ mod test {
12491249
let client = RawClient::new(get_test_server(), None).unwrap();
12501250

12511251
let resp = client.relay_fee().unwrap();
1252-
assert_eq!(resp, 0.00001);
1252+
assert!(resp > 0.0);
12531253
}
12541254

12551255
#[test]

0 commit comments

Comments
 (0)