erc20-transfer-authorization

Simple approval escrow for ERC20 spending
Log | Files | Refs

commit dfae212ea65553fda0f75717b13f79ffdfeff043
parent fdae4ec8265130c7f43a084a75fa174bfc917c89
Author: nolash <dev@holbrook.no>
Date:   Wed, 16 Dec 2020 15:25:58 +0100

Use local data dir for abi bin

Diffstat:
Mpython/erc20_approval_escrow/runnable/deploy.py | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/python/erc20_approval_escrow/runnable/deploy.py b/python/erc20_approval_escrow/runnable/deploy.py @@ -38,11 +38,11 @@ if args.v: def main(): w3 = web3.Web3(web3.Web3.HTTPProvider(args.p)) - f = open(os.path.join(args.abi_dir, 'TransferApproval.json'), 'r') + f = open(os.path.join(data_dir, 'TransferApproval.json'), 'r') abi = json.load(f) f.close() - f = open(os.path.join(args.abi_dir, 'TransferApproval.bin'), 'r') + f = open(os.path.join(data_dir, 'TransferApproval.bin'), 'r') bytecode = f.read() f.close()