Skip to content

Commit

Permalink
Wtf it actually worked omg :o
Browse files Browse the repository at this point in the history
  • Loading branch information
Shaptic committed Jun 27, 2024
1 parent 5a2f66f commit 2ca01d0
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/xdr-type.js
Original file line number Diff line number Diff line change
Expand Up @@ -205,12 +205,6 @@ export function isSerializableIsh(value, subtype) {
export function hasConstructor(instance, subtype) {
do {
const ctor = instance.constructor;

console.log(ctor.name, subtype);
console.log(ctor.structName, subtype.structName);
// console.log(ctor.unionName, subtype.unionName);
// console.log(ctor.enumName, subtype.enumName);

if (
ctor.name === subtype ||
(ctor.structName && ctor.structName === subtype.structName) ||
Expand Down

0 comments on commit 2ca01d0

Please sign in to comment.