Skip to content

Commit

Permalink
Disable updatePacket and updateChannel
Browse files Browse the repository at this point in the history
  • Loading branch information
Inkvi committed Apr 28, 2024
1 parent 77d39d8 commit c4a1e2d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/channel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,7 @@ async function getChannelTx(
}

export async function updateChannel(context: Context, channelPk?: string) {
return
if (!channelPk) {
logger.error('No channelPk provided');
return;
Expand Down
1 change: 1 addition & 0 deletions src/packet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ async function updateSendToAckGas<name extends Virtual.EventNames<config>>(conte
}

export async function updatePacket<name extends Virtual.EventNames<config>>(context: Virtual.Context<config, schema, name>, id: string) {
return
let packet = await context.db.Packet.findUnique({id})
if (!packet) {
console.warn('No packet found with id', id)
Expand Down

0 comments on commit c4a1e2d

Please sign in to comment.