Fix typo in the field name

This commit is contained in:
Yaacov Akiba Slama
2021-02-05 10:10:10 +02:00
parent aca8c4f2c0
commit f3a66cc6fb

2
db.go
View File

@@ -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 {