cryptonote-universal-pool
cryptonote-universal-pool copied to clipboard
Send transactions to not work for Bytecoin 1.0.3+ based coins
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;
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"}}