interledgerjs / ilp-plugin-xrp-asym-client

Client to Asymmetric XRP Paychan
4 stars 3 forks source link

Invalid claim signature #39

Closed martinlowinski closed 5 years ago

martinlowinski commented 5 years ago

I am currently trying to send XRP from one moneyd instance to another (via test.strata) and get the following error on the receiving side (complete logs are here):

2019-04-10T13:12:56.117Z connector:/root/moneyd-xrp-testnet/node_modules/ilp-plugin-xrp-asym-client/index.js[parent] error invalid claim signature for 1
2019-04-10T13:12:56.118Z connector:/root/moneyd-xrp-testnet/node_modules/ilp-plugin-xrp-asym-client/index.js[parent] debug Error processing BTP packet of type 7:  Error: Invalid claim signature for: 1
    at Plugin._handleMoney (/root/moneyd-xrp-testnet/node_modules/ilp-plugin-xrp-asym-client/index.js:610:15)
    at Plugin._handleIncomingBtpPacket (/root/moneyd-xrp-testnet/node_modules/ilp-plugin-btp/src/index.ts:719:29)
    at Plugin._handleIncomingWsMessage (/root/moneyd-xrp-testnet/node_modules/ilp-plugin-btp/src/index.ts:528:18)
    at WebSocketReconnector.EventEmitter.emit (/root/moneyd-xrp-testnet/node_modules/eventemitter2/lib/eventemitter2.js:354:19)
    at WebSocket._instance.on (/root/moneyd-xrp-testnet/node_modules/ilp-plugin-btp/src/ws-reconnect.ts:120:70)
    at WebSocket.emit (events.js:189:13)
    at Receiver.receiverOnMessage (/root/moneyd-xrp-testnet/node_modules/ilp-plugin-btp/node_modules/ws/lib/websocket.js:789:20)
    at Receiver.emit (events.js:189:13)
    at Receiver.dataMessage (/root/moneyd-xrp-testnet/node_modules/ilp-plugin-btp/node_modules/ws/lib/receiver.js:413:14)
    at Receiver.getData (/root/moneyd-xrp-testnet/node_modules/ilp-plugin-btp/node_modules/ws/lib/receiver.js:352:17)

The transfer was triggered like this: ilp-spsp send -a 100 -r '$187c92221dc60be9.localtunnel.me'

Both sides use newly created wallets from the XRP Test Net Faucet.

After this first unsuccessful transfer, both sides get out of sync and all subsequent transfers fail.

The sender and receiver moneyd instances use the following versions: