Closed shuse2 closed 5 years ago
Transaction should accept recipientId null, and validate it to be false only when needed.
"type": 2, "amount": 0, "fee": 0, "timestamp": 0, "recipientId": null, "senderId": "1226959367143279543L", "senderPublicKey": "f8d8aa286b689fa7279ad99f0fdfaeb3c0d2b22bee62230df2ba2fe40b9eb628", "asset": { "delegate": { "username": "genesis_54" } }, "signature": "d4b61a5508b75864e4d96fc74d003aeb1e74ab3b4f5cda734836ea98736cc7f7da9c6d513acbe04ff1d7df93904eda4caf0e4c36c9675c811fce486efc897802", "id": "15562133894377717094" }
Above genesis transaction fails in validation
Expected behavior
Transaction should accept recipientId null, and validate it to be false only when needed.
Actual behavior
Above genesis transaction fails in validation