fix subscription accounts not being processed (#474)
This commit is contained in:
parent
06248161eb
commit
59873ada64
|
@ -9,10 +9,16 @@ export const onChangeAccount =
|
|||
): ProgramAccountChangeCallback =>
|
||||
async info => {
|
||||
const pubkey = pubkeyToString(info.accountId);
|
||||
const account = info.accountInfo
|
||||
|
||||
await process(
|
||||
{
|
||||
pubkey,
|
||||
account: info.accountInfo,
|
||||
account: {
|
||||
...account,
|
||||
// to make sure these accounts get processed by processAuctions, processVaultData, etc
|
||||
owner: account.owner.toBase58() as unknown as any
|
||||
},
|
||||
},
|
||||
setter,
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue