Commit e0e6608f9df71b679e52c4d0916732e4e8201fc2
remove address from ETHinterfacec
wanderer committed on 11/18/2016, 12:12:33 PMParent: 229256951b870dc5f3a910c2e413c4df95f6cefa
Files changed
EVMinterface.js | changed |
EVMinterface.js | ||
---|---|---|
@@ -5,9 +5,8 @@ | ||
5 | 5 | const fs = require('fs') |
6 | 6 | const path = require('path') |
7 | 7 | const ethUtil = require('ethereumjs-util') |
8 | 8 | const Vertex = require('merkle-trie') |
9 | -const Address = require('./deps/address.js') | |
10 | 9 | const U256 = require('./deps/u256.js') |
11 | 10 | |
12 | 11 | const U128_SIZE_BYTES = 16 |
13 | 12 | const ADDRESS_SIZE_BYTES = 20 |
@@ -616,9 +615,9 @@ | ||
616 | 615 | * @param {integer} offset the offset to load the address from |
617 | 616 | */ |
618 | 617 | selfDestruct (addressOffset) { |
619 | 618 | this.kernel.environment.selfDestruct = true |
620 | - this.kernel.environment.selfDestructAddress = Address.fromMemory(this.getMemory(addressOffset, ADDRESS_SIZE_BYTES)) | |
619 | + this.kernel.environment.selfDestructAddress = this.getMemory(addressOffset, ADDRESS_SIZE_BYTES) | |
621 | 620 | this.kernel.environment.gasRefund += 24000 |
622 | 621 | } |
623 | 622 | |
624 | 623 | getMemory (offset, length) { |
Built with git-ssb-web