We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4147801 commit 8c035f4Copy full SHA for 8c035f4
packages/evolution/src/core/Address.ts
@@ -51,7 +51,12 @@ export class Address extends Schema.Class<Address>("AddressStructure")({
51
}
52
53
[Hash.symbol](): number {
54
- return Hash.hash(this.toJSON())
+ return Hash.cached(
55
+ this,
56
+ Hash.combine(
57
+ Hash.combine(Hash.number(this.networkId))(Hash.hash(this.paymentCredential))
58
+ )(Hash.hash(this.stakingCredential))
59
+ )
60
61
62
0 commit comments