Add height parameter in disconn notification

This commit is contained in:
Michalis Kargakis 2014-06-05 20:48:56 +03:00
parent 4e8e63e0d7
commit e31398a272

View file

@ -24,7 +24,7 @@ func main() {
log.Printf("Block connected: %v (%d)", hash, height)
},
OnBlockDisconnected: func(hash *btcwire.ShaHash, height int32) {
log.Printf("Block disconnected: %v", hash, height)
log.Printf("Block disconnected: %v (%d)", hash, height)
},
}