mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2026-09-24 07:25:03 -05:00
build out rl and bug fixes
This commit is contained in:
@@ -242,6 +242,16 @@ export const incomingReducer = (state = { ...initial_state }, action) => {
|
||||
state["send_transaction_result"] = message.data;
|
||||
return state;
|
||||
}
|
||||
else if (command === "rl_set_user_info") {
|
||||
const success = data.success;
|
||||
console.log("RL SET USER INFO SUCCESS")
|
||||
console.log(success)
|
||||
}
|
||||
else if (command === "create_new_wallet") {
|
||||
const success = data.success;
|
||||
console.log("RL CREATE WALLET SUCCESS")
|
||||
console.log(success)
|
||||
}
|
||||
return state;
|
||||
default:
|
||||
return state;
|
||||
|
||||
@@ -513,6 +513,7 @@ export const create_rl_admin = (interval, limit, pubkey, amount) => {
|
||||
pubkey: pubkey,
|
||||
amount: amount
|
||||
};
|
||||
console.log("CREATE RL ADMIN ACTION: ", action)
|
||||
return action;
|
||||
};
|
||||
|
||||
@@ -523,6 +524,7 @@ export const create_rl_user = () => {
|
||||
wallet_type: "rl_wallet",
|
||||
rl_type: "user"
|
||||
};
|
||||
console.log("CREATE RL USER ACTION: ", action)
|
||||
return action;
|
||||
};
|
||||
|
||||
@@ -572,6 +574,7 @@ export const rl_set_user_info = (wallet_id, interval, limit, origin_id, admin_pu
|
||||
origin_id: origin_id,
|
||||
admin_pubkey: admin_pubkey
|
||||
};
|
||||
console.log("RL SET USER INFO ACTION: ", action)
|
||||
return action;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user