mirror of
https://github.com/0xfnzero/solana-streamer.git
synced 2026-08-04 21:17:44 +00:00
fix
This commit is contained in:
+1
-1
@@ -55,7 +55,7 @@ pub struct TipAccountResult {
|
||||
|
||||
impl TipAccountResult {
|
||||
pub fn from(value: Value) -> Result<Self> {
|
||||
let accounts = value
|
||||
let accounts = value["result"]
|
||||
.as_array()
|
||||
.context("expected 'result' to be an array")?
|
||||
.iter()
|
||||
|
||||
Reference in New Issue
Block a user