mirror of
https://github.com/purrgrammer/grimoire.git
synced 2026-04-11 16:07:15 +02:00
fix: change ReadOnlyAccount type to 'grimoire-readonly' to avoid conflict
The registerCommonAccountTypes() from applesauce-accounts already registers a ReadOnlyAccount with type 'readonly', causing a duplicate registration error. Changed our custom ReadOnlyAccount type to 'grimoire-readonly' to avoid the conflict.
This commit is contained in:
@@ -59,7 +59,7 @@ export class ReadOnlyAccount extends BaseAccount<
|
||||
void,
|
||||
ReadOnlyMetadata
|
||||
> {
|
||||
static readonly type = "readonly";
|
||||
static readonly type = "grimoire-readonly";
|
||||
|
||||
constructor(pubkey: string, signer: ReadOnlySigner) {
|
||||
super(pubkey, signer);
|
||||
|
||||
Reference in New Issue
Block a user