fix: remove instanceof checks

This commit is contained in:
Justin Starry
2020-07-31 01:48:25 +08:00
committed by Michael Vines
parent 31ea69f278
commit d0f4b24481
5 changed files with 29 additions and 39 deletions

View File

@@ -35,13 +35,6 @@ export class PublicKey {
}
}
/**
* Checks if the provided object is a PublicKey
*/
static isPublicKey(o: Object): boolean {
return o instanceof PublicKey;
}
/**
* Checks if two publicKeys are equal
*/