fix test build
This commit is contained in:
parent
7d1c7a0474
commit
ffced4e17f
@ -211,7 +211,7 @@ mod test {
|
|||||||
let key4 = KeyPair::from_secret(Secret::from("0000000000000000000000000000000000000000000000000000000000000004")).unwrap();
|
let key4 = KeyPair::from_secret(Secret::from("0000000000000000000000000000000000000000000000000000000000000004")).unwrap();
|
||||||
|
|
||||||
let filter = TransactionFilter::from_params(spec.params()).unwrap();
|
let filter = TransactionFilter::from_params(spec.params()).unwrap();
|
||||||
filter.register_client(Arc::downgrade(&client) as Weak<BlockChainClient>);
|
filter.register_client(Arc::downgrade(&client) as Weak<_>);
|
||||||
let mut basic_tx = Transaction::default();
|
let mut basic_tx = Transaction::default();
|
||||||
basic_tx.action = Action::Call(Address::from("000000000000000000000000000000000000032"));
|
basic_tx.action = Action::Call(Address::from("000000000000000000000000000000000000032"));
|
||||||
let create_tx = Transaction::default();
|
let create_tx = Transaction::default();
|
||||||
|
Loading…
Reference in New Issue
Block a user