Skip to content

Commit

Permalink
remove todo, u32 is what new sdk-rs use
Browse files Browse the repository at this point in the history
  • Loading branch information
ailisp committed May 20, 2022
1 parent c80b004 commit bbbab11
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/collections/vector.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ export class Vector {
}

indexToKey(index) {
// TODO: there's no efficient way to convert a Uint64 (BigInt) to Uint8Array
// we limit index to be Uint32 for now
let data = new Uint32Array([index])
let array = new Uint8Array(data.buffer)
let key = u8ArrayToString(array)
Expand Down

0 comments on commit bbbab11

Please sign in to comment.