Skip to content

Commit d36c154

Browse files
committed
loopdb: fix unit test
1 parent 57fa22b commit d36c154

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

loopdb/sql_test.go

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,15 @@ func TestSqliteTypeConversion(t *testing.T) {
322322
func TestIssue615(t *testing.T) {
323323
ctxb := context.Background()
324324

325+
// Create an invoice to get the timestamp from.
326+
invoice := "lnbc5u1pje2dyusp5qs356crpns9u3we8hw7w9gntfz89zkcaxu6w6h6a" +
327+
"pw6jlgc0cynqpp5y2xdzu4eqasuttxp3nrk72vqdzce3wead7nmf693uqpgx" +
328+
"2hd533qdpcyfnx2etyyp3ks6trddjkuueqw3hkketwwv7kgvrd0py95d6vvv" +
329+
"65z0fzxqzfvcqpjrzjqd82srutzjx82prr234anxdlwvs6peklcc92lp9aqs" +
330+
"q296xnwmqd2rrf9gqqtwqqqqqqqqqqqqqqqqqq9q9qxpqysgq768236z7cx6" +
331+
"gyy766wajrmpnpt6wavkf5nypwyj6r3dcxm89aggq2jm2kznaxvr0lrsqgv7" +
332+
"592upfh5ruyrwzy5tethpzere78xfgwqp64jrpa"
333+
325334
// Create a new sqlite store for testing.
326335
sqlDB := NewTestDB(t)
327336

@@ -356,7 +365,7 @@ func TestIssue615(t *testing.T) {
356365
MaxPrepayRoutingFee: 40,
357366
PrepayInvoice: "prepayinvoice",
358367
DestAddr: destAddr,
359-
SwapInvoice: "swapinvoice",
368+
SwapInvoice: invoice,
360369
MaxSwapRoutingFee: 30,
361370
SweepConfTarget: 2,
362371
HtlcConfirmations: 2,

0 commit comments

Comments
 (0)