fix: base64 decode account data
This commit is contained in:
parent
ebc45bd73f
commit
91f843c56c
|
@ -1716,7 +1716,7 @@ export class Connection {
|
|||
|
||||
let data = resultData;
|
||||
if (!data.program) {
|
||||
data = bs58.decode(data);
|
||||
data = new Buffer(data, 'base64');
|
||||
}
|
||||
|
||||
value = {
|
||||
|
@ -1826,7 +1826,7 @@ export class Connection {
|
|||
|
||||
let data = resultData;
|
||||
if (!data.program) {
|
||||
data = bs58.decode(data);
|
||||
data = new Buffer(data, 'base64');
|
||||
}
|
||||
|
||||
return {
|
||||
|
|
Loading…
Reference in New Issue