Fix logging: Warn -> Warnf.
ok @davecgh
This commit is contained in:
parent
08c01f08b1
commit
8a7b73e62b
1 changed files with 2 additions and 2 deletions
|
@ -723,7 +723,7 @@ func (b *blockManager) fetchHeaderBlocks() {
|
||||||
iv := btcwire.NewInvVect(btcwire.InvTypeBlock, node.sha)
|
iv := btcwire.NewInvVect(btcwire.InvTypeBlock, node.sha)
|
||||||
haveInv, err := b.haveInventory(iv)
|
haveInv, err := b.haveInventory(iv)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
bmgrLog.Warn("Unexpected failure when checking for "+
|
bmgrLog.Warnf("Unexpected failure when checking for "+
|
||||||
"existing inventory during header block "+
|
"existing inventory during header block "+
|
||||||
"fetch: %v", err)
|
"fetch: %v", err)
|
||||||
}
|
}
|
||||||
|
@ -922,7 +922,7 @@ func (b *blockManager) handleInvMsg(imsg *invMsg) {
|
||||||
// Request the inventory if we don't already have it.
|
// Request the inventory if we don't already have it.
|
||||||
haveInv, err := b.haveInventory(iv)
|
haveInv, err := b.haveInventory(iv)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
bmgrLog.Warn("Unexpected failure when checking for "+
|
bmgrLog.Warnf("Unexpected failure when checking for "+
|
||||||
"existing inventory during inv message "+
|
"existing inventory during inv message "+
|
||||||
"processing: %v", err)
|
"processing: %v", err)
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Reference in a new issue