Skip to content

Commit

Permalink
Merge pull request #531 from ethereumjs/improve-selfdestruct-doc
Browse files Browse the repository at this point in the history
Improve selfdestruct maps doc
  • Loading branch information
holgerd77 authored May 28, 2019
2 parents 4b7539c + 5c6c1cd commit 3e9a91f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions lib/evm/eei.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ export interface RunResult {
logs: any // TODO: define type for Log (each log: [Buffer(address), [Buffer(topic0), ...]])
returnValue?: Buffer
gasRefund: BN
/**
* A map from the accounts that have self-destructed to the addresses to send their funds to
*/
selfdestruct: { [k: string]: Buffer }
}

Expand Down
2 changes: 1 addition & 1 deletion lib/evm/interpreter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export interface ExecResult {
*/
gasRefund?: BN
/**
* A set of accounts that have self-destructed
* A map from the accounts that have self-destructed to the addresses to send their funds to
*/
selfdestruct?: { [k: string]: Buffer }
}
Expand Down

0 comments on commit 3e9a91f

Please sign in to comment.