channel_id: fix bolt_test

This commit is contained in:
Gijs Van Laer 2019-10-18 10:17:40 -04:00
parent 93789cd49f
commit e749ec22fa
1 changed files with 2 additions and 2 deletions

View File

@ -67,9 +67,9 @@ fn main() {
println!(">> Time to generate proof for establish: {} ms", est_time);
// obtain close token for closing out channel
let pk_h = hash_pubkey_to_fr::<Bls12>(&cust_state.pk_c);
let channel_id = channel_token.compute_channel_id();
let option = bidirectional::establish_merchant_issue_close_token(rng, &channel_state, &com, &com_proof,
&pk_h, b0_customer, b0_merchant, &merch_state);
&channel_id, b0_customer, b0_merchant, &merch_state);
let close_token= match option {
Ok(n) => n.unwrap(),
Err(e) => panic!("Failed - bidirectional::establish_merchant_issue_close_token(): {}", e)