From f3a66cc6fbae09ac74c3367d06ecd3f873cc63fd Mon Sep 17 00:00:00 2001 From: Yaacov Akiba Slama Date: Fri, 5 Feb 2021 10:10:10 +0200 Subject: [PATCH] Fix typo in the field name --- db.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db.go b/db.go index b082f41..f28f883 100644 --- a/db.go +++ b/db.go @@ -73,7 +73,7 @@ func registerPayment(destination, paymentHash, paymentSecret []byte, incomingAmo func insertChannel(chanID uint64, channelPoint string, nodeID []byte) error { _, err := pgxPool.Exec(context.Background(), `INSERT INTO - channels (chanis, channel_point, nodeid) + channels (chanid, channel_point, nodeid) VALUES ($1, $2, $3)`, chanID, channelPoint, nodeID) if err != nil {