question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

TypeError: undefined is not an object (evaluating 'delete c[_.param].hex')

See original GitHub issue

I can’t load transactions for my wallets in the app. The wallet balances show correctly, but when I try to refresh in order to view transactions I get the error:

TypeError: undefined is not an object (evaluating 'delete c[_.param].hex')

I ran the self-test inside the BlueWallet app and the same error above came up as the self-test result.

I’m running BlueWallet version 6.0.5 (build 1612982073) on an iPhone 11 with iOS 14.4

Screenshots attached to show version details and self-test result.

IMG_2754 IMG_2753

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:10 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
cconcannoncommented, Feb 23, 2021

With your help here I was able to figure out that my bitcoin node was not reading a config file correctly on startup, so reboots were not using -txindex. I was able to fix the issue and verify the above commands give the expected response from my custom ElectrumX server.

I really appreciate the help!

1reaction
Overtormentcommented, Feb 22, 2021

@cconcannon I debugged your server, and looks like your bitcoind is running without -txindex, so electrum can’t index all data. the error I got from your electrum is :

daemon error: DaemonError({'code': -5, 'message': 'No such mempool transaction. Use -txindex or provide a block hash to enable blockchain transaction queries. Use gettransaction for wallet transactions.'})

where other electrum servers respond okay.

if you want to debug it yourself, here’s the console command that queries regular electrum server:

$ echo '{"id": 1, "method": "blockchain.transaction.get", "params": ["881c54edd95cbdd1583d6b9148eb35128a47b64a2e67a5368a649d6be960f08e"]}' | timeout 2 nc electrum1.bluewallet.io  50001 -i 1
{"jsonrpc": "2.0", "result": "02000000000102f1155666b534f7cb476a0523a45dc8731d38d56b5b08e877c968812423fbd7f3010000000000000000d8a2882a692ee759b43e6af48ac152dd3410cc4b7d25031e83b3396c16ffbc8900000000000000000002400d03000000000017a914e286d58e53f9247a4710e51232cce0686f16873c870695010000000000160014d3e2ecbf4d91321794e0297e0284c47527cf878b02483045022100d18dc865fb4d087004d021d480b983b8afb177a1934ce4cd11cf97b03e17944f02206d7310687a84aab5d4696d535bca69c2db4449b48feb55fff028aa004f2d1744012103af4b208608c75f38e78f6e5abfbcad9c360fb60d3e035193b2cd0cdc8fc0155c0247304402207556e859845df41d897fe442f59b6106c8fa39c74ba5b7b8e3268ab0aebf186f0220048a9f3742339c44a1e5c78b491822b96070bcfda3f64db9dc6434f8e8068475012102456e5223ed3884dc6b0e152067fd836e3eb1485422eda45558bf83f59c6ad09f00000000", "id": 1}

and here’s how your server responds:

$ echo '{"id": 1, "method": "blockchain.transaction.get", "params": ["881c54edd95cbdd1583d6b9148eb35128a47b64a2e67a5368a649d6be960f08e"]}' | timeout 2 nc YOUR_IP_ADRESS  50001 -i 1
{"jsonrpc": "2.0", "error": {"code": 2, "message": "daemon error: DaemonError({'code': -5, 'message': 'No such mempool transaction. Use -txindex or provide a block hash to enable blockchain transaction queries. Use gettransaction for wallet transactions.'})"}, "id": 1}
Read more comments on GitHub >

github_iconTop Results From Across the Web

undefined is not an object (evaluating 'this.setState') when ...
the state to update is workoutList and I'm using a class component,and when I launch the code it returns back the error: TypeError:...
Read more >
TypeError: undefined is not an object (evaluating 'this ... - GitHub
Hi. I`m trying to use the lib, and write and run the introduction steps on the documentations. Already linked in react native, ...
Read more >
Node.js v19.3.0 Documentation
If the message parameter is undefined, a default error message is assigned. ... The following, for instance, will throw the TypeError because there...
Read more >
Grammar and types - JavaScript - MDN Web Docs - Mozilla
This chapter discusses JavaScript's basic grammar, variable declarations, data types and literals.
Read more >
ECMA-262 Edition 5.1 - ECMAScript Language Specification
ECMAScript does not use classes such as those in C++, Smalltalk, or Java. ... If Type(Obj) is not Object throw a TypeError exception....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found