fix: properly decode account notifications (#11724)
This commit is contained in:
parent
b1bc901a66
commit
cf941b0eda
|
@ -2832,12 +2832,13 @@ export class Connection {
|
|||
const {result} = res;
|
||||
const {value, context} = result;
|
||||
|
||||
assert(value.data[1] === 'base64');
|
||||
sub.callback(
|
||||
{
|
||||
executable: value.executable,
|
||||
owner: new PublicKey(value.owner),
|
||||
lamports: value.lamports,
|
||||
data: Buffer.from(value.data, 'base64'),
|
||||
data: Buffer.from(value.data[0], 'base64'),
|
||||
},
|
||||
context,
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue