Skip to content

Commit

Permalink
fix: get fee added in entry as well
Browse files Browse the repository at this point in the history
  • Loading branch information
gcranju committed May 8, 2024
1 parent eb98b1e commit 526f901
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,16 @@ 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,ctx: &TxContext):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)
}

entry fun get_fee(states: &mut XCallState,net_id:String,response:bool,_ctx: &TxContext):u64{
let state = get_state(states.get_connection_states_mut());
centralized_state::get_fee(state,&net_id,response)
}




Expand Down

0 comments on commit 526f901

Please sign in to comment.