Skip to content

Commit

Permalink
quote requests
Browse files Browse the repository at this point in the history
  • Loading branch information
seunlanlege committed Aug 21, 2024
1 parent 66cfe8c commit cccaa8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion interfaces/IIsmpModule.sol
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ abstract contract BaseIsmpModule is IIsmpModule {

// @dev returns the quoted fee for a dispatch
function quote(DispatchPostResponse memory res) internal view returns (uint256) {
return post.fee + (res.response.length * IIsmpHost(host()).perByteFee());
return res.fee + (res.response.length * IIsmpHost(host()).perByteFee());
}

// @dev returns the quoted fee for a dispatch
Expand Down

0 comments on commit cccaa8a

Please sign in to comment.