Make dryrun operate on the top block.
This commit is contained in:
parent
ede98b9e96
commit
4efc38d319
@ -619,8 +619,8 @@ dry_run(TX) ->
|
|||||||
%% supplied accounts.
|
%% supplied accounts.
|
||||||
|
|
||||||
dry_run(TX, Accounts) ->
|
dry_run(TX, Accounts) ->
|
||||||
case kb_current_hash() of
|
case top_block() of
|
||||||
{ok, Hash} -> dry_run(TX, Accounts, Hash);
|
{ok, #{"hash" := Hash}} -> dry_run(TX, Accounts, Hash);
|
||||||
Error -> Error
|
Error -> Error
|
||||||
end.
|
end.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user