Skip to content

Commit

Permalink
Renamed methods
Browse files Browse the repository at this point in the history
  • Loading branch information
aaroncox committed Jul 27, 2023
1 parent 0b08402 commit eb9420b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/chain/blob.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export class Blob implements ABISerializableObject {
}
}

get hexString(): string {
get base64String(): string {
return Buffer.from(this.array).toString('base64')
}

Expand All @@ -49,7 +49,7 @@ export class Blob implements ABISerializableObject {
}

toString() {
return this.hexString
return this.base64String
}

toJSON() {
Expand Down

0 comments on commit eb9420b

Please sign in to comment.