Skip to content

Commit 04a40e9

Browse files
authored
feat: use wrapped feed (#608)
1 parent eaaa14b commit 04a40e9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/command/feed/feed-command.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,8 @@ export class FeedCommand extends RootCommand {
8686
try {
8787
const writer = this.bee.makeFeedWriter(topic, wallet.getPrivateKey())
8888
const feedManifestResult = await this.bee.createFeedManifest(stamp, topic, wallet.getAddressString())
89-
const { reference } = await writer.upload(stamp, chunkReference)
89+
const data = await this.bee.downloadData(chunkReference)
90+
const { reference } = await writer.uploadPayload(stamp, data.toUint8Array())
9091

9192
return { reference, manifest: feedManifestResult }
9293
} finally {

0 commit comments

Comments
 (0)