From cccaa8a3d2aa3abe9f697230b83570ea22b4f4c3 Mon Sep 17 00:00:00 2001 From: Seun Lanlege Date: Wed, 21 Aug 2024 19:46:46 +0000 Subject: [PATCH] quote requests --- interfaces/IIsmpModule.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interfaces/IIsmpModule.sol b/interfaces/IIsmpModule.sol index 835a6f8..aabd823 100644 --- a/interfaces/IIsmpModule.sol +++ b/interfaces/IIsmpModule.sol @@ -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