LayerTwo-Labs / sidesail

A work-in-progress sidechain UI.
MIT License
6 stars 4 forks source link

drivechain-server: strip descriptor from logs/error messages #257

Open torkelrogstad opened 5 hours ago

torkelrogstad commented 5 hours ago

We're including sensitive data in logs+error messages right now. Should be stripped when erroring out from the bdk-cli shell logic

<nil> FTL main: got error: *fmt.wrapError error="initial wallet sync: bdk-cli wallet wallet --descriptor wpkh(xprv9s21ZrQH143K387pTZb5WANmCPRR24ufCs6uNKGyg3v4UGmspiqr3j89PsaaN3ArWmM2SnfRHb23iaRkfaxeUZPCowa8ckBkE7uiBhjVRJr/84h/1h/0h/0/*) --server tcp://drivechain.live:50001 sync errored: Electrum client error: Electrum server error: \"missing transaction\""