Skip to content

Commit

Permalink
fix to call for xrc20 in force_issue in xcontracts (paritytech#110)
Browse files Browse the repository at this point in the history
  • Loading branch information
atenjin authored Jun 20, 2020
1 parent 65032b8 commit 9703d10
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions xrml/contracts/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -644,9 +644,9 @@ decl_module! {
for (origin, value) in issues {
let params = (origin.clone(), value).encode();

// if let Err(_e) = Self::call_for_xrc20(token.clone(), origin.clone(), gas_limit, XRC20Selector::Issue, params.clone()) {
// error!("[force_issue_xrc20]|{:}|who:{:?}|value:{:}|gas_limit:{:}|params:{:}", _e.reason, origin, value, gas_limit, try_hex_or_str(&params))
// }
if let Err(_e) = Self::call_for_xrc20(token.clone(), XRC20Selector::Issue, params.clone()) {
error!("[force_issue_xrc20]|{:?}|who:{:?}|value:{:?}|params:{:?}", _e.reason, origin, value, try_hex!(&params))
}
}
Ok(())
}
Expand Down

0 comments on commit 9703d10

Please sign in to comment.