Skip to content

Commit fb0775e

Browse files
committed
chore: make list_attestations example working
1 parent a81c255 commit fb0775e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/contracts-api/attestationAction.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ export class AttestationAction extends Action {
252252
// Prepare parameters for list_attestations view action
253253
// Note: Empty Uint8Array represents BYTEA NULL (handled by kwil-js 0.9.10+)
254254
const params: Types.NamedParams = {
255-
$requester: input.requester ? Buffer.from(input.requester).toString('base64') : new Uint8Array(0),
255+
$requester: input.requester ?? new Uint8Array(0),
256256
$limit: limit,
257257
$offset: offset,
258258
$order_by: input.orderBy ?? null,

0 commit comments

Comments
 (0)