Skip to content

Commit e00e0bc

Browse files
committed
Markdown gen fix
Replace newlines with <br> in tables
1 parent 4a4fa1c commit e00e0bc

2 files changed

Lines changed: 3 additions & 6 deletions

File tree

deployer/pkg/docs/docs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ func dashIfEmpty(s string) string {
362362
if s == "" {
363363
return "—"
364364
}
365-
return s
365+
return strings.ReplaceAll(s, "\n", "<br>")
366366
}
367367

368368
func sortAndConcat(assets []*client.AssetsDetail, explorerSuffix string) string {

deployer/pkg/syncer/syncer.go

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -319,10 +319,6 @@ func (s *Syncer) doHash(
319319
}
320320

321321
lpRideHash := blake2b.Sum256(scriptBytes)
322-
if err != nil {
323-
return false, fmt.Errorf("blake2b.New256: %w", err)
324-
}
325-
326322
newHashStr := base64.StdEncoding.EncodeToString(lpRideHash[:])
327323

328324
dataTxValue := &proto.StringDataEntry{
@@ -717,7 +713,8 @@ func (s *Syncer) doFile(
717713
)
718714
doLpRide := cont.File == lpRide && !mainnetLpHashEmpty
719715
doLpStableRide := cont.File == lpStableRide && !mainnetLpStableHashEmpty
720-
if doLpRide || doLpStableRide {
716+
// TODO: Temporary disabled lp and lp_stable steps
717+
if false && (doLpRide || doLpStableRide) {
721718
er := s.sendTx(
722719
ctx,
723720
proto.NewUnsignedTransferWithProofs(

0 commit comments

Comments
 (0)