cryptonote-universal-pool icon indicating copy to clipboard operation
cryptonote-universal-pool copied to clipboard

Send transactions to not work for Bytecoin 1.0.3+ based coins

Open pmitchev opened this issue 10 years ago • 1 comments

Because of change in the simplewallet API, the payment module is not able to send transactions on Bytecoin 1.0.3+ based coins. To fix, replace this line: https://github.com/fancoder/cryptonote-universal-pool/blob/master/lib/paymentProcessor.js#L123 with:

var txHash = result.tx_hash;

pmitchev avatar Aug 23 '15 16:08 pmitchev

Output (1.0.2):

{"id": "test","jsonrpc": "2.0","result": {"tx_hash": "<caafca46af006851e9b53c9a45608a0299c1e2da1934ed1e7ef6b551eb6f7e14>"}

Output (1.0.3+):

{"id":"test","jsonrpc":"2.0","result":{"tx_hash":"574d35c34e12bf8a54dd021556151c15583aa52817e9053835165be1525a6ce3"}}

pmitchev avatar Aug 23 '15 16:08 pmitchev