Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function CreateTransaction(publicKey) {
return Exonum.newTransaction({
author: publicKey,
service_id: SERVICE_ID,
message_id: TX_WALLET_ID,
schema: proto.CreateWalletTx
})
}
function TransferTransaction(publicKey) {
return Exonum.newTransaction({
author: publicKey,
service_id: SERVICE_ID,
message_id: TX_TRANSFER_ID,
schema: proto.TransferTx
})
}