mirror of
https://github.com/aljazceru/lspd.git
synced 2025-12-20 07:14:22 +01:00
Fix typo in the field name
This commit is contained in:
2
db.go
2
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 {
|
||||
|
||||
Reference in New Issue
Block a user