Skip to content
This repository has been archived by the owner on Jan 2, 2025. It is now read-only.

Commit

Permalink
fix(daemon): wallet tests
Browse files Browse the repository at this point in the history
  • Loading branch information
juligasa committed Jun 25, 2024
1 parent 77de46b commit 9791f95
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions backend/wallet/wallet_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,9 @@ func TestRequestLndHubInvoice(t *testing.T) {
_, err = bob.InsertWallet(ctx, bobURI, "default")
require.NoError(t, err)

//TODO(juligasa): get bobs account by exporting wallet until sync is working
bobAccount, err := bob.net.AccountForDevice(ctx, bob.net.AddrInfo().ID)
kp, err := bob.keyStore.GetKey(ctx, "main")
require.NoError(t, err)

bobAccount := kp.Principal()
var amt uint64 = 23
var wrongAmt uint64 = 24
var memo = "test invoice"
Expand Down

0 comments on commit 9791f95

Please sign in to comment.