Skip to content

Commit

Permalink
fix: use topic and remove 0x
Browse files Browse the repository at this point in the history
  • Loading branch information
Cafe137 committed Aug 8, 2024
1 parent 7faf923 commit 37d61ac
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/command/feed/print.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,10 @@ export class Print extends FeedCommand implements LeafCommand {
0x62, 0xa5, 0xb5, 0x89, 0x3f, 0xf0, 0xe4, 0xe1, 0xe2, 0x98, 0x30, 0x48, 0xd2, 0x76, 0x00, 0xbe,
]),
new TextEncoder().encode(
`{"swarm-feed-owner":"${this.address}","swarm-feed-topic":"${this.topic}","swarm-feed-type":"Sequence"}`,
`{"swarm-feed-owner":"${this.address.replace(
'0x',
'',
)}","swarm-feed-topic":"${topic}","swarm-feed-type":"Sequence"}`,
),
new Uint8Array(12).fill(0x0a),
)
Expand Down

0 comments on commit 37d61ac

Please sign in to comment.