Skip to content

Commit

Permalink
fix: pass compatible with v1 to namesys
Browse files Browse the repository at this point in the history
  • Loading branch information
hacdias committed Jun 20, 2023
1 parent 1afc809 commit 35733f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion namesys/publisher.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ func (p *IpnsPublisher) updateRecord(ctx context.Context, k crypto.PrivKey, valu
opts := opts.ProcessPublishOptions(options)

// Create record
r, err := ipns.NewRecord(k, value, seqno, opts.EOL, opts.TTL)
r, err := ipns.NewRecord(k, value, seqno, opts.EOL, opts.TTL, ipns.WithV1Compatibility(opts.CompatibleWithV1))
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 35733f5

Please sign in to comment.