valuserEd25519KeyPair=MessagingModuleConfiguration.shared.getUserED25519KeyPair()?:returnPromise.ofFail(NullPointerException("No user key pair"))
valhashes=messageHashes.takeIf{it.size!=1}?:(messageHashes+"")// TODO remove this when bug is fixed on nodes.
valhashes=messageHashes.takeIf{it.size!=1}?:(messageHashes+"///////////////////////////////////////////")// TODO remove this when bug is fixed on nodes.