Merge pull request #237 from garious/hoist-lastid

Hoist last_id
This commit is contained in:
Greg Fitzgerald
2018-05-22 17:48:25 -06:00
committed by GitHub
5 changed files with 32 additions and 38 deletions

View File

@ -301,8 +301,8 @@ mod tests {
let last_id = client.get_last_id().wait().unwrap();
let mut tr2 = Transaction::new(&alice.keypair(), bob_pubkey, 501, last_id);
tr2.data.tokens = 502;
tr2.data.plan = Plan::new_payment(502, bob_pubkey);
tr2.contract.tokens = 502;
tr2.contract.plan = Plan::new_payment(502, bob_pubkey);
let _sig = client.transfer_signed(tr2).unwrap();
let balance = poll_get_balance(&mut client, &bob_pubkey);