* Add Binary64 option for account data
* Decode into binary64
* Reword docs
(cherry picked from commit 068d23f298
)
Co-authored-by: sakridge <sakridge@gmail.com>
This commit is contained in:
@@ -350,7 +350,7 @@ mod tests {
|
||||
)
|
||||
.unwrap();
|
||||
let nonce_pubkey = Pubkey::new(&[4u8; 32]);
|
||||
let rpc_nonce_account = UiAccount::encode(nonce_account, UiAccountEncoding::Binary, None);
|
||||
let rpc_nonce_account = UiAccount::encode(nonce_account, UiAccountEncoding::Binary64, None);
|
||||
let get_account_response = json!(Response {
|
||||
context: RpcResponseContext { slot: 1 },
|
||||
value: json!(Some(rpc_nonce_account)),
|
||||
|
Reference in New Issue
Block a user