Replace TokenPair in exchange (#5292)

* simplify token pair representation, rename to AssetPair for forward compat.

* update bench exchange TokenPair use
This commit is contained in:
Patrick Amato
2019-07-26 14:31:08 -06:00
committed by GitHub
parent aef7bae60d
commit 33de2cad6d
4 changed files with 37 additions and 49 deletions

View File

@@ -509,7 +509,7 @@ fn trader<T>(
T: Client,
{
// TODO Hard coded for now
let pair = TokenPair::AB;
let pair = AssetPair::default();
let tokens = 1;
let price = 1000;
let mut account_group: usize = 0;