targetAddress

This commit is contained in:
chaosBreaking
2019-09-30 11:35:52 +08:00
parent 3fd1776581
commit d5e5f727da
3 changed files with 6 additions and 5 deletions

View File

@@ -11,9 +11,9 @@ const name2type = {
function createTicket (name, data) {
const type = name2type[name];
const status = 'created';
const { userId, handler, action, coinId, option } = data;
const { userId, handler, action, coinId, option, targetAddress } = data;
return new Ticket({
status, type, userId, handler, action, option, coinId
status, type, userId, handler, action, option, coinId, targetAddress
});
}