Skip to content
This repository has been archived by the owner on Sep 14, 2023. It is now read-only.

Commit

Permalink
fix: entry page and key page usage (#768)
Browse files Browse the repository at this point in the history
Co-authored-by: T6 <t6@t6.fyi>
  • Loading branch information
harrysolovay and tjjfvi authored Mar 21, 2023
1 parent b34fd3a commit 598bc04
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion fluent/StorageRune.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ export class StorageRune<
blockHash?: string,
]>
) {
const storageKey = this.$key.encoded(partialKey).map(hex.encode)
const storageKey = this.$partialKey.encoded(partialKey).map(hex.encode)
const startKey = Rune.captureUnhandled(
[this.$key, start],
(codec, start) =>
Expand Down
4 changes: 2 additions & 2 deletions rpc/ws.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ export class WsConnection extends Connection {
super()
this.ws = new WebSocket(url)
this.ws.addEventListener("message", (e) => this.handle(JSON.parse(e.data)))
this.ws.addEventListener("error", (e) => { // TODO: recovery
this.ws.addEventListener("error", (e) => {
console.log(e)
Deno.exit(1)
throw new Error("TODO: more graceful error messaging / recovery")
})
}

Expand Down

0 comments on commit 598bc04

Please sign in to comment.