Skip to content

Commit 5c6c1cd

Browse files
committed
Improve selfdestruct maps doc
1 parent 4b7539c commit 5c6c1cd

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

lib/evm/eei.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ export interface RunResult {
2727
logs: any // TODO: define type for Log (each log: [Buffer(address), [Buffer(topic0), ...]])
2828
returnValue?: Buffer
2929
gasRefund: BN
30+
/**
31+
* A map from the accounts that have self-destructed to the addresses to send their funds to
32+
*/
3033
selfdestruct: { [k: string]: Buffer }
3134
}
3235

lib/evm/interpreter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ export interface ExecResult {
7575
*/
7676
gasRefund?: BN
7777
/**
78-
* A set of accounts that have self-destructed
78+
* A map from the accounts that have self-destructed to the addresses to send their funds to
7979
*/
8080
selfdestruct?: { [k: string]: Buffer }
8181
}

0 commit comments

Comments
 (0)