Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Received funds appear in listreceivedbyaddress, but are not taken into account for the wallet balance and cannot be transferred #1322

Open
eckelj opened this issue Mar 19, 2024 · 0 comments

Comments

@eckelj
Copy link

eckelj commented Mar 19, 2024

I received transactions on my wallet:

~/elements-23.2.1/bin/elements-cli listreceivedbyaddress
...
  {
    "address": "lq1qqtvv6rlj34e5yfy0lej7fz4j2gcpfeph6ck933360l2kv8ze5hypnl86w8vnxc4q2c5saluqevdqmw0xefj9x9t685n59z9tt",
    "amount": {
      "RDDL": 11727478.84800004,
      "bitcoin": 0.00820000
    },
    "confirmations": 88651,
    "label": "Account1",
    "txids": [
      "b76725ca07f8605121bb21523e1f0cbd344224e508cc021880dbc2ce81508e1f",
      "f1d8f0b6b50584a1aa8ba374e8a1d42fa5dca746e6977eca5b1af1f03a0617af"
    ]
  }
]

and haven't spent any of these so far. At the same time, I also had other incoming transactions. However, the balance of the wallet does not take transactions of the address into account when computing the balance:

~/elements-23.2.1/bin/elements-cli getbalance
{
  "RDDL": 10897109.04756544,
  "bitcoin": 0.00777900
}

I receive transactions on two accounts:
addresses: lq1qqw87p75cwu7jhhw7htvhuuzte6z0wlzmwppnpuauw6tuf2cyh67rpzrtmaycqrev77pnmd2gnhq6d2h4afecsalzeuhp9qdh0
and
lq1qqtvv6rlj34e5yfy0lej7fz4j2gcpfeph6ck933360l2kv8ze5hypnl86w8vnxc4q2c5saluqevdqmw0xefj9x9t685n59z9tt

Both are derived by getnewaddress. It seems like the transactions received on lq1qqtvv6rlj34e5yfy0lej7fz4j2gcpfeph6ck933360l2kv8ze5hypnl86w8vnxc4q2c5saluqevdqmw0xefj9x9t685n59z9tt are not listed in the balances and cannot be transferred from the wallet. How can that be?

Derivation paths are
lq1qqtvv6rlj34e5yfy0lej7fz4j2gcpfeph6ck933360l2kv8ze5hypnl86w8vnxc4q2c5saluqevdqmw0xefj9x9t685n59z9tt:
"desc": "wpkh([2d4a5461/0'/0'/1']036b41d89b267014e80c7baa380a5d316171b6494eff4c1384256bd43454e54f61)#sm3acjk6",

lq1qqw87p75cwu7jhhw7htvhuuzte6z0wlzmwppnpuauw6tuf2cyh67rpzrtmaycqrev77pnmd2gnhq6d2h4afecsalzeuhp9qdh0:
"desc": "wpkh([2d4a5461/0'/0'/0']03b607628a90c0b58cc08e778606df62b50e96320df085c9e7594a744ecb6a7cbf)#hmzm2344",

Would anyone happen to have an idea on how to fix this? Is there a workaround?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant