Fullnode rpc to exit with unsafe config
This commit is contained in:
committed by
Grimes
parent
a3016aebaf
commit
c299dd390e
@@ -140,6 +140,7 @@ pub enum RpcRequest {
|
||||
GetStorageBlockhash,
|
||||
GetStorageEntryHeight,
|
||||
GetStoragePubkeysForEntryHeight,
|
||||
FullnodeExit,
|
||||
}
|
||||
|
||||
impl RpcRequest {
|
||||
@@ -160,6 +161,7 @@ impl RpcRequest {
|
||||
RpcRequest::GetStorageBlockhash => "getStorageBlockhash",
|
||||
RpcRequest::GetStorageEntryHeight => "getStorageEntryHeight",
|
||||
RpcRequest::GetStoragePubkeysForEntryHeight => "getStoragePubkeysForEntryHeight",
|
||||
RpcRequest::FullnodeExit => "fullnodeExit",
|
||||
};
|
||||
let mut request = json!({
|
||||
"jsonrpc": jsonrpc,
|
||||
|
Reference in New Issue
Block a user