fix: base64 decode account data

This commit is contained in:
Justin Starry 2020-08-10 00:54:54 +08:00 committed by Justin Starry
parent ebc45bd73f
commit 91f843c56c
1 changed files with 2 additions and 2 deletions

View File

@ -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 {