File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed
Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ export class FeedCommand extends RootCommand {
4848
4949 this . console . quiet ( manifest . toHex ( ) )
5050
51- if ( ! this . quiet ) {
51+ if ( ! this . quiet && ! ( await this . bee . isGateway ( ) ) ) {
5252 printStamp ( await this . bee . getPostageBatch ( stamp ) , this . console , { shortenBatchId : true } )
5353 }
5454
Original file line number Diff line number Diff line change @@ -22,9 +22,14 @@ export class Upload extends FeedCommand implements LeafCommand {
2222 super . init ( )
2323
2424 if ( ! this . stamp ) {
25- const stamp = await pickStamp ( this . bee , this . console )
26- this . stamp = stamp
27- this . fileUpload . stamp = stamp
25+ if ( await this . bee . isGateway ( ) ) {
26+ this . stamp = '0' . repeat ( 64 )
27+ this . fileUpload . stamp = '0' . repeat ( 64 )
28+ } else {
29+ const stamp = await pickStamp ( this . bee , this . console )
30+ this . stamp = stamp
31+ this . fileUpload . stamp = stamp
32+ }
2833 }
2934
3035 const reference = await this . runUpload ( )
You can’t perform that action at this time.
0 commit comments