Skip to content

Commit

Permalink
fix: add txcontext
Browse files Browse the repository at this point in the history
  • Loading branch information
ibrizsabin authored and Itshyphen committed Aug 8, 2024
1 parent 7cd919b commit 8512749
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion contracts/evm/lib/openzeppelin-contracts
2 changes: 1 addition & 1 deletion contracts/evm/lib/openzeppelin-contracts-upgradeable
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ module xcall::centralized_entry{
centralized_state::set_fee(state,net_id,message_fee,response_fee,ctx.sender());
}

entry fun get_receipt(states: &mut XCallState,net_id:String,sn:u128):bool{
entry fun get_receipt(states: &mut XCallState,net_id:String,sn:u128,ctx: &TxContext):bool{
let state = get_state(states.get_connection_states_mut());
centralized_state::get_receipt(state,net_id,sn)
}
Expand Down

0 comments on commit 8512749

Please sign in to comment.