Skip to content
This repository was archived by the owner on Nov 6, 2020. It is now read-only.

Commit c2200f5

Browse files
author
adria0
committed
Fix test
1 parent 16d89fc commit c2200f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rpc/src/v1/tests/mocked/eth_pubsub.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,11 +192,11 @@ fn should_subscribe_to_pending_transactions() {
192192
pool_sender.unbounded_send(Arc::new(vec![H256::from_low_u64_be(5), H256::from_low_u64_be(7)])).unwrap();
193193

194194
let (res, receiver) = receiver.into_future().wait().unwrap();
195-
let response = r#"{"jsonrpc":"2.0","method":"eth_subscription","params":{"result":"0x0000000000000000000000000000000000000000000000000000000000000005","subscription":"0x43ca64edf03768e1"}}"#;
195+
let response = r#"{"jsonrpc":"2.0","method":"eth_subscription","params":{"result":"0x0000000000000000000000000000000000000000000000000000000000000007","subscription":"0x43ca64edf03768e1"}}"#;
196196
assert_eq!(res, Some(response.into()));
197197

198198
let (res, receiver) = receiver.into_future().wait().unwrap();
199-
let response = r#"{"jsonrpc":"2.0","method":"eth_subscription","params":{"result":"0x0000000000000000000000000000000000000000000000000000000000000007","subscription":"0x43ca64edf03768e1"}}"#;
199+
let response = r#"{"jsonrpc":"2.0","method":"eth_subscription","params":{"result":"0x0000000000000000000000000000000000000000000000000000000000000005","subscription":"0x43ca64edf03768e1"}}"#;
200200
assert_eq!(res, Some(response.into()));
201201

202202
// And unsubscribe

0 commit comments

Comments
 (0)