mirror of
https://github.com/urbit/shrub.git
synced 2024-12-25 04:52:06 +03:00
Merge pull request #6377 from justinlynn/hotfix/6376-eth-hex-format
Fix stuck %eth-watcher due to get-block-by-number zero-padded number RPC failure.
This commit is contained in:
parent
8417431b31
commit
7eee507bab
@ -733,7 +733,7 @@
|
||||
::
|
||||
%eth-get-block-by-number
|
||||
:- 'eth_getBlockByNumber'
|
||||
:~ (tape (num-to-hex bon.req))
|
||||
:~ (tape (num-to-hex-minimal bon.req))
|
||||
b+txs.req
|
||||
==
|
||||
::
|
||||
@ -942,6 +942,12 @@
|
||||
%- render-hex-bytes
|
||||
(as-octs:mimes:html n)
|
||||
::
|
||||
++ num-to-hex-minimal
|
||||
|= n=@
|
||||
^- tape
|
||||
%- prefix-hex
|
||||
((x-co:co 1) n)
|
||||
::
|
||||
++ address-to-hex
|
||||
|= a=address
|
||||
^- tape
|
||||
|
Loading…
Reference in New Issue
Block a user