Skip to content

wallet --donate-all panics with valid mnemonic? #22

@leeeroyd

Description

@leeeroyd

Attempting to run the "wallet --donate-all" command - appears to create the message but then the entire program crashes and complains about a.. invalid mnemonic? (I can derive addresses from this to check the balance of NIGHT without any issue so the mnemonic is valid)

It's a 24 word mnemonic that mined for days without any issue...

error:

thread 'main' (1901523) panicked at src/cardano.rs:50:43:
Need a valid mnemonic: BadWordCount(1)
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

As far as it gets before panicking

./target/release/shadow-harvester --accept-tos --api-url https://sm.midnight.gd/ wallet donate-all --mnemonic ../../cardano_node/mnemonic_1.txt --donate-to <ADDR CENSORED>

==============================================
__ Starting Donation Sweep Mode
==============================================
Destination Address: <ADDR CENSORED>
Starting Account Index: 0
Starting Derivation Index: 0
API URL: https://sm.midnight.gd/
Max Iterations: 0
Tolerance: 5
Message: "Assign accumulated Scavenger rights to: <ADDR CENSORED>"
----------------------------------------------

Pulled the latest code from today with a fresh build. Curious how I can assist debugging this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions