Closed 20a8vnf30 closed 1 month ago
Does this issue still exist on latest version?
Does this issue still exist on latest version?
Yes the same thing still happens in 0.10.9, I checked just now.
can you check your db if there is any payment where the payment_hash looks off, we had an issue long time ago with admin topups that generated wrong payment_hash. if so i would delete those and create new topups.
I'm not sure I'm doing this right, I run this query: SELECT * FROM apipayments WHERE memo="Admin top up";
It returns two types of transactions, the older ones where the field "hash" has the value "admin_internal", and more recent transactions where the field "hash" is an actual hash.
I'm guessing the older transactions are the problem, should I remove those? Will deleting only the transactions cause any trouble in the DB?
I'm not sure I'm doing this right, I run this query: SELECT * FROM apipayments WHERE memo="Admin top up";
It returns two types of transactions, the older ones where the field "hash" has the value "admin_internal", and more recent transactions where the field "hash" is an actual hash.
I'm guessing the older transactions are the problem, should I remove those? Will deleting only the transactions cause any trouble in the DB?
/EDIT
That fixed it, for future reference I ran this query: DELETE FROM apipayments WHERE memo="Admin top up" AND hash="admin_internal";
The admin wallet can now be successfully imported into Bluewallet through the LNDhub Admin QR. Issue can be closed.
I'm still experiencing this issue with my admin wallet after updating to 0.10.8. I open the LNDhub extension as the admin/superuser, use the Bluewallet import function to scan the admin QR, Bluewallet throws an error: "Import error" "undefined is not a function" The relevant LNbits log lines are below.
My admin/superuser has one wallet, the wallet has had several topups over the last few months, it has done boltcard payments, received some sats and paid some invoices, it has done a total of 20 transactions. Wallets from other users don't have this problem and can be imported into Bluewallet just fine, I'm not sure why because the other wallets have had similar use happening. Is there something special about the admin wallet?