make POS use correct factory/currency

This commit is contained in:
Michele Balistreri 2020-03-10 11:05:06 +03:00
parent f6f7239e0d
commit d67060ad80
No known key found for this signature in database
GPG Key ID: E9567DA33A4F791A
2 changed files with 14 additions and 2 deletions

View File

@ -298,7 +298,7 @@ export const requestPayment = () => {
const message = {
blockNumber: block.number,
blockHash: block.hash,
currency: "0x0000000000000000000000000000000000000000",
currency: "0xc55cF4B03948D7EBc8b9E8BAD92643703811d162",
to: state.owner,
amount: state.txAmount,
}

View File

@ -57,7 +57,7 @@ module.exports = {
// filteredFields: [],
contracts: {
KeycardWalletFactory: {},
KeycardWalletFactory: {args: ["0xc55cF4B03948D7EBc8b9E8BAD92643703811d162"]},
}
},
@ -79,11 +79,23 @@ module.exports = {
// merges with the settings in default
// used with "embark run testnet"
testnet: {
contracts: {
KeycardWalletFactory: {
address: "0x37491bee77c66cb1c4c2be92e4ba3a9eb5487801",
deploy: false
}
}
},
// merges with the settings in default
// used with "embark run livenet"
livenet: {
contracts: {
KeycardWalletFactory: {
address: "0x37491bee77c66cb1c4c2be92e4ba3a9eb5487801",
deploy: false
}
}
},
// you can name an environment with specific settings and then specify with