Skip to content

Commit

Permalink
exporting procs
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielmer committed Jan 15, 2025
1 parent 0b91f43 commit 79a69a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions waku/waku_store/common.nim
Original file line number Diff line number Diff line change
Expand Up @@ -134,15 +134,15 @@ proc `$`*(err: StoreError): string =
of ErrorCode.UNKNOWN:
"UNKNOWN"

proc toHex(messageData: WakuMessageKeyValue): WakuMessageKeyValueHex =
proc toHex*(messageData: WakuMessageKeyValue): WakuMessageKeyValueHex =
WakuMessageKeyValueHex(
messageHash: messageData.messageHash.to0xHex(),
# Assuming WakuMessageHash has a toHex method
message: messageData.message,
pubsubTopic: messageData.pubsubTopic,
)

proc toHex(response: StoreQueryResponse): StoreQueryResponseHex =
proc toHex*(response: StoreQueryResponse): StoreQueryResponseHex =
StoreQueryResponseHex(
requestId: response.requestId,
statusCode: response.statusCode,
Expand Down

0 comments on commit 79a69a7

Please sign in to comment.