Commit 3e30632034050031a6800119f8eebd8204b1bc98
Kernel: remove outdated comments
Alex Beregszaszi committed on 8/23/2016, 12:35:11 AMParent: c2c2c8129841ee7fab70e39ad49ebafd8c2a4995
Files changed
index.js | changed |
index.js | ||
---|---|---|
@@ -127,25 +127,10 @@ | ||
127 | 127 | } |
128 | 128 | |
129 | 129 | // run tx; the tx message handler |
130 | 130 | runTx (tx, environment = new Environment()) { |
131 | - // verify tx then send to call Handler | |
132 | - // - from account has enough balance | |
133 | - // - check nonce | |
134 | - // - ecrecover | |
135 | - // new ethTx(tx).validate(tx) | |
136 | - // - reduce balance | |
137 | - | |
138 | 131 | this.environment = environment |
139 | 132 | |
140 | - // | |
141 | - // environment.state - the merkle tree | |
142 | - // key: address (20 byte, hex string, without 0x prefix) | |
143 | - // every path has an account | |
144 | - // | |
145 | - // { balance, codeHash, stateRoot } | |
146 | - // | |
147 | - | |
148 | 133 | if (Buffer.isBuffer(tx) || typeof tx === 'string') { |
149 | 134 | tx = new Transaction(tx) |
150 | 135 | if (!tx.valid) { |
151 | 136 | throw new Error('Invalid transaction signature') |
Built with git-ssb-web