I'm facing an issue regarding generating address from private key.
I got the master private key from electrum and from bitcoin core that starts from
ECKey key=ECKey.fromPrivate(prv); // it accepts bytes or BigInteger
how can i convert 9s21xxxxxxxxxxxxxxxxx into bytes or BigInteger.
BigInteger bytes=new BigInteger(priv,16);
it throws exception as it can't convert due to number format.
it generates valid address from ECKey and i send transaction to that address via electrum. but wallet didn't receive money.
What should i do to convert master private key into BigInteger or bytes