multi: improve loggings

This commit is contained in:
yyforyongyu
2024-05-22 16:51:36 +08:00
committed by yyforyongyu
parent 45b243c91c
commit 1d53e7d081
6 changed files with 23 additions and 17 deletions

View File

@@ -733,7 +733,7 @@ func (l *LightningWallet) RegisterFundingIntent(expectedID [32]byte,
}
if _, ok := l.fundingIntents[expectedID]; ok {
return fmt.Errorf("%w: already has intent registered: %v",
return fmt.Errorf("%w: already has intent registered: %x",
ErrDuplicatePendingChanID, expectedID[:])
}