From 9be4aca2d583a1340028cb087c7c5a58bb70fa1c Mon Sep 17 00:00:00 2001 From: Michele Balistreri Date: Wed, 12 Feb 2020 15:37:48 +0300 Subject: [PATCH] add currency field to tx --- apps/pos/app/js/actions/index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/pos/app/js/actions/index.js b/apps/pos/app/js/actions/index.js index 018728f..edee7fd 100644 --- a/apps/pos/app/js/actions/index.js +++ b/apps/pos/app/js/actions/index.js @@ -101,6 +101,7 @@ function signPaymentRequest(getState, message, cb) { let payment = [ { name: "blockNumber", type: "uint256" }, { name: "blockHash", type: "bytes32" }, + { name: "currency", type: "address" }, { name: "amount", type: "uint256" }, { name: "to", type: "address" } ]; @@ -287,6 +288,7 @@ export const requestPayment = () => { const message = { blockNumber: block.number, blockHash: block.hash, + currency: "0x0000000000000000000000000000000000000000", to: state.owner, amount: state.txAmount, }