Commit 5cc86e6 1 parent 2201c69 commit 5cc86e6 Copy full SHA for 5cc86e6
File tree 3 files changed +3
-3
lines changed
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -4469,7 +4469,7 @@ func (btc *intermediaryWallet) watchBlocks(ctx context.Context) {
4469
4469
case <- ticker .C :
4470
4470
newTipHdr , err := btc .node .getBestBlockHeader ()
4471
4471
if err != nil {
4472
- btc .log .Errorf ("failed to get best block header from %s node: %w " , btc .symbol , err )
4472
+ btc .log .Errorf ("failed to get best block header from %s node: %v " , btc .symbol , err )
4473
4473
continue
4474
4474
}
4475
4475
newTipHash , err := chainhash .NewHashFromStr (newTipHdr .Hash )
Original file line number Diff line number Diff line change @@ -331,7 +331,7 @@ func (btc *ExchangeWalletElectrum) watchBlocks(ctx context.Context) {
331
331
if err != nil {
332
332
// NOTE: often says "height X out of range", then succeeds on next tick
333
333
if ! strings .Contains (err .Error (), "out of range" ) {
334
- btc .log .Errorf ("failed to get best block from %s electrum server: %w " , btc .symbol , err )
334
+ btc .log .Errorf ("failed to get best block from %s electrum server: %v " , btc .symbol , err )
335
335
}
336
336
continue
337
337
}
Original file line number Diff line number Diff line change @@ -574,7 +574,7 @@ func (w *zecWallet) watchBlocks(ctx context.Context) {
574
574
case <- ticker .C :
575
575
newTipHdr , err := getBestBlockHeader (w )
576
576
if err != nil {
577
- w .log .Errorf ("failed to get best block header from node: %w " , err )
577
+ w .log .Errorf ("failed to get best block header from node: %v " , err )
578
578
continue
579
579
}
580
580
newTipHash , err := chainhash .NewHashFromStr (newTipHdr .Hash )
You can’t perform that action at this time.
0 commit comments