Enable Salvium payouts
This commit is contained in:
@@ -221,6 +221,16 @@ function runInterval () {
|
|||||||
let rpcCommand = "transfer";
|
let rpcCommand = "transfer";
|
||||||
let rpcRequest = transferCmd.rpc;
|
let rpcRequest = transferCmd.rpc;
|
||||||
|
|
||||||
|
if (config.symbol === 'SAL1') {
|
||||||
|
transferCmd.rpc.destinations.forEach(destination => {
|
||||||
|
destination.asset_type = "SAL1";
|
||||||
|
});
|
||||||
|
transferCmd.rpc.source_asset = "SAL1";
|
||||||
|
transferCmd.rpc.dest_asset = "SAL1";
|
||||||
|
transferCmd.rpc.tx_type = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
if (daemonType === "bytecoin") {
|
if (daemonType === "bytecoin") {
|
||||||
rpcCommand = "sendTransaction";
|
rpcCommand = "sendTransaction";
|
||||||
rpcRequest = {
|
rpcRequest = {
|
||||||
|
|||||||
Reference in New Issue
Block a user