s/contract_id/program_id
This commit is contained in:
parent
e249e4f5c7
commit
4f2f41d25f
|
@ -66,7 +66,7 @@ const GetAccountInfoRpcResult = struct({
|
|||
id: 'string',
|
||||
error: 'any?',
|
||||
result: struct.optional({
|
||||
contract_id: 'array',
|
||||
program_id: 'array',
|
||||
tokens: 'number',
|
||||
userdata: 'array',
|
||||
}),
|
||||
|
@ -203,7 +203,7 @@ export class Connection {
|
|||
}
|
||||
return {
|
||||
tokens: result.tokens,
|
||||
programId: bs58.encode(result.contract_id),
|
||||
programId: bs58.encode(result.program_id),
|
||||
userdata,
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue