Skip to content

Commit

Permalink
Update src/handlers/index.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Raunak <[email protected]>
  • Loading branch information
mvpoyatt and RnkSngh authored Aug 16, 2024
1 parent 14d7499 commit 9967534
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/handlers/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ async function postBlockFeeHook(ctx: Context, entities: Entities) {
}
});
if (sendPacket) {
sendPacket.totalRecvFeesDeposited = sendPacket.totalAckFeesDeposited + BigInt(sendPacketFee.recvGasLimit * sendPacketFee.recvGasPrice);
sendPacket.totalRecvFeesDeposited = sendPacket.totalRecvFeesDeposited + BigInt(sendPacketFee.recvGasLimit * sendPacketFee.recvGasPrice);
sendPacket.totalAckFeesDeposited = sendPacket.totalAckFeesDeposited + BigInt(sendPacketFee.ackGasLimit * sendPacketFee.ackGasPrice);
if (!sendPacket.feesDeposited) {
sendPacket.feesDeposited = [sendPacketFee];
Expand Down

0 comments on commit 9967534

Please sign in to comment.