Skip to content
This repository was archived by the owner on May 23, 2023. It is now read-only.

Commit 9373f23

Browse files
committed
Hotfixing apply_transaction return values
1 parent b47fe53 commit 9373f23

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ethereum/state_transition.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,11 +290,12 @@ def rp(what, actual, target):
290290
if not state.is_METROPOLIS() and not SKIP_MEDSTATES:
291291
state.commit()
292292
r = mk_receipt(state, state.logs)
293+
_logs = list(state.logs)
293294
state.logs = []
294295
state.add_to_list('receipts', r)
295296
state.set_param('bloom', state.bloom | r.bloom)
296297
state.set_param('txindex', state.txindex + 1)
297-
return success
298+
return success, output, _logs # FIXME, @vub how should the interface look like?
298299

299300

300301
def mk_receipt_sha(receipts):

0 commit comments

Comments
 (0)