mirror of
https://github.com/aljazceru/lspd.git
synced 2025-12-20 23:34: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 {
|
func insertChannel(chanID uint64, channelPoint string, nodeID []byte) error {
|
||||||
_, err := pgxPool.Exec(context.Background(),
|
_, err := pgxPool.Exec(context.Background(),
|
||||||
`INSERT INTO
|
`INSERT INTO
|
||||||
channels (chanis, channel_point, nodeid)
|
channels (chanid, channel_point, nodeid)
|
||||||
VALUES ($1, $2, $3)`,
|
VALUES ($1, $2, $3)`,
|
||||||
chanID, channelPoint, nodeID)
|
chanID, channelPoint, nodeID)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user