forknote / cryptonote-generator

Generate Cryptonote coin with 1 command
104 stars 211 forks source link

Pre-Mine amount goes to wrong wallet #81

Closed 2acoin closed 6 years ago

2acoin commented 6 years ago

I create a coin using the latest CRYPTONOTE-GENERATOR code and ran into this issue. PreMine Amount sent to wrong Address

Here is what I did; I created two wallets using the following commands;

./simplewallet --config-file configs/coin.conf --generate-new-wallet .wallets/premine.wallet --password XXXXXX

and

./simplewallet --config-file configs/coin.conf --generate-new-wallet .wallets/pool.wallet --password XXXXXX

I then generated the Genesis Block using the following command;

/coind --config-file configs/coin.conf --print-genesis-tx --genesis-block-reward-address premine.wallet_address

Once I had the GENESIS_BLOCK I added it to the coin.conf file and began mining using the following command;

./miner --daemon-address 127.0.0.1:XXXX  --address pool.wallet_address --log-level 5

Everything looked good!

However, when I went back and opened up the two wallets no transactions existed in my premine.wallet. Instead, all of the transactions went into the pool wallet.

I ran through the process several time to ensure I did not copy/paste something incorrectly. But each time I had the same results.

It looks like there is a problem in the code somewhere.

2acoin commented 6 years ago

Found the problem. Consider this issue closed.