add a convenient error message (#862)

This commit is contained in:
Philip Monk 2018-10-24 09:18:04 -07:00 committed by Joe Bryan
parent 5e4ead1353
commit 1819be5139
2 changed files with 5 additions and 1 deletions

View File

@ -1232,6 +1232,7 @@
$info `%c $info `%c
$keep `%f $keep `%f
$kill `%f $kill `%f
$look `%j
$merg `%c $merg `%c
$mint `%j $mint `%j
$mont `%c $mont `%c

View File

@ -364,7 +364,9 @@
++ contracts ++ contracts
|% |%
++ ships ++ ships
0x84b3.7fbc.6188.da8a.e866.1eae.322a.f4d9.2db4.5ecc :: 0xab87.24a7.a953.ef14.e940.b358.6b21.a889.b62f.3d56 :: ropsten
0x84b3.7fbc.6188.da8a.e866.1eae.322a.f4d9.2db4.5ecc :: joe
:: 0x7134.3566.74e4.0c93.8736.8699.1af8.86dd.2ae8.e642 :: philip
-- --
:: ::
:: hashes of ship event signatures :: hashes of ship event signatures
@ -7987,6 +7989,7 @@
^- hull:constitution:ethe ^- hull:constitution:ethe
=/ jon=json (need (de-json:html q.rep)) =/ jon=json (need (de-json:html q.rep))
=/ res=cord ((ot result+so ~) jon) =/ res=cord ((ot result+so ~) jon)
~? =(res '0x') 'bad result from node; is ships address correct?'
%+ hull-from-eth:constitution:ethereum %+ hull-from-eth:constitution:ethereum
who who
:_ *deed:eth-noun:constitution:ethereum :_ *deed:eth-noun:constitution:ethereum