Closed pablitovicente closed 5 years ago
If a null recipientPublicKey property is present in a transaction it should be accepted
null
recipientPublicKey
Currently it's not being accepted although TransactionJSON defines it as optional string we might need to accept null and/or undefined here.
TransactionJSON
Run any of the GET functional tests in core for example mocha framework/test/functional/http/get/node/transactions_unsigned.js
mocha framework/test/functional/http/get/node/transactions_unsigned.js
Expected behavior
If a
null
recipientPublicKey
property is present in a transaction it should be acceptedActual behavior
Currently it's not being accepted although
TransactionJSON
defines it as optional string we might need to accept null and/or undefined here.Steps to reproduce
Run any of the GET functional tests in core for example
mocha framework/test/functional/http/get/node/transactions_unsigned.js
Which version(s) does this affect? (Environment, OS, etc...)