mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-09-21 07:28:30 +03:00
catches error with no endpoint given
This commit is contained in:
parent
c962435265
commit
5eb184cc53
@ -42,18 +42,17 @@
|
||||
::
|
||||
?> ?|((team:title our.bowl src.bowl) (is-client:hc src.bowl))
|
||||
=^ cards state
|
||||
?+ mark (on-poke:def mark vase)
|
||||
%btc-provider-action
|
||||
:: TODO: check whether endpoint/credentials are set
|
||||
(handle-action:hc !<(action vase))
|
||||
::
|
||||
%btc-provider-command
|
||||
?: ?=(%btc-provider-command mark)
|
||||
?> (team:title our.bowl src.bowl)
|
||||
(handle-command:hc !<(command vase))
|
||||
~| "Not connected to RPC endpoints"
|
||||
?+ mark (on-poke:def mark vase)
|
||||
%btc-provider-action
|
||||
?> connected.status
|
||||
(handle-action:hc !<(action vase))
|
||||
::
|
||||
%btc-provider-rpc-action
|
||||
?> (team:title our.bowl src.bowl)
|
||||
:: TODO: check whether endpoint/credentials are set
|
||||
?> connected.status
|
||||
(handle-rpc-action !<(rpc-action vase))
|
||||
==
|
||||
[cards this]
|
||||
|
@ -27,7 +27,7 @@ abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon
|
||||
```
|
||||
|
||||
### Getting BIP84 Address from `xpub`
|
||||
```
|
||||
```g
|
||||
(~(address bip84:b %main xpub))
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user