channeldb/migration12: write out invoices using TLV encoding

This commit is contained in:
Conner Fromknecht committed 2019-11-22 02:23:59 -08:00
1 parent 0f8048d336
commit 4b358aa2ad
3 files changed
+172

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
package migration12
import (
"github.com/btcsuite/btclog"
)
// log is a logger that is initialized as disabled. This means the package will
// not perform any logging by default until a logger is set.
var log = btclog.Disabled
// UseLogger uses a specified Logger to output package logging info.
func UseLogger(logger btclog.Logger) {
log = logger
}