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