-
Notifications
You must be signed in to change notification settings - Fork 586
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
parameter #2 'verbosity' must be type int (got bool) #687
Comments
What chain backend are you using? And what version? |
master, testnet |
No, I mean what software is running at |
both |
|
Yes, that's the problem. The current |
Similar issue:
Only with testnet. With mainnet all is fine.
btcd version 0.20.1-beta What btcwallet version will be work with testnet ? |
This should be addressed with the current master branches of |
Yes, it's latest. |
the trouble somwhere here wallet.go 427:
After restarting without recovery mode, everything works fine in the next starts. I hope this helps someone. |
So which version of btcwallet is actually working? |
Try |
master is not functional with btcd |
The btcd dependency needs to be updated in the project to point to master. We don't see this in lnd because it's enforcing a higher version. |
@wpaulino is it |
Yeah, the patch below should do it. If you can't apply it locally, you can run the following commands within the top level directory of btcwallet:
|
2020-03-31 10:34:58.048 [INF] BTCW: Version 0.11.0-alpha
2020-03-31 10:34:58.066 [INF] RPCS: Listening on 127.0.0.1:18332
2020-03-31 10:34:58.066 [INF] BTCW: Attempting RPC client connection to localhost:18334
2020-03-31 10:34:58.160 [INF] CHNS: Established connection to RPC server localhost:18334
2020-03-31 10:34:59.167 [INF] WLLT: Opened wallet
2020-03-31 16:21:17.579 [INF] RPCS: New websocket client 127.0.0.1:60448
2020-03-31 16:21:17.586 [WRN] RPCS: Websocket receive failed from client 127.0.0.1:60448: websocket: close 1006 unexpected EOF
2020-03-31 16:21:17.587 [INF] RPCS: Disconnected websocket client 127.0.0.1:60448
2020-03-31 17:15:44.171 [INF] WLLT: RECOVERY MODE ENABLED -- rescanning for used addresses with recovery_window=250
2020-03-31 17:15:44.194 [INF] WLLT: Seed birthday surpassed, starting recovery of wallet from height=1691396 hash=0000000000001605ddfb355e9d0bc8ff9b069f72eb1d31603693cc366f3c75ef with recovery-window=250
2020-03-31 17:15:44.688 [INF] WLLT: Scanning 1394 blocks for recoverable addresses
2020-03-31 17:15:45.255 [INF] CHNS: Fetching block height=1691802 hash=0000000000000e28379f03272a1367f8be7d9b574babf4a7123865fd39019643
panic: Unable to synchronize wallet to chain: unable to perform wallet recovery: -32602: parameter #2 'verbosity' must be type int (got bool)
goroutine 15 [running]:
github.com/btcsuite/btcwallet/wallet.(*Wallet).handleChainNotifications(0xc0000da000)
/home/ec2-user/go/src/github.com/btcsuite/btcwallet/wallet/chainntfns.go:117 +0x13b1
created by github.com/btcsuite/btcwallet/wallet.(*Wallet).SynchronizeRPC
/home/ec2-user/go/src/github.com/btcsuite/btcwallet/wallet/wallet.go:191 +0x1aa
The text was updated successfully, but these errors were encountered: