Skip to content

Invalid Hex String when SetGenesis #4

@weijia-yu

Description

@weijia-yu

I am having this error when decoding genesis block data:
rror when CreateAndStorePrivateKey System.FormatException: Invalid Hex String
at NBitcoin.DataEncoders.HexEncoder.DecodeData (System.String encoded) [0x00019] in <10b18eedccec443eb5e12121cb174cf4>:0

We are using bitcoin-like blockchain and trying to modify the Network.cs,
also, weirdly the SetGenesis() does not reply on magic number? Even I set Genesis using litecoin test net data, and use our blockchain's magic number, it still successfully registeres.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions