Skip to content

Commit

Permalink
chore: merge branch 'feat/add-xrpl-date' into feat/support-xrpl
Browse files Browse the repository at this point in the history
  • Loading branch information
Polybius93 committed Oct 17, 2024
2 parents 181b7bf + 5f0b1ba commit d072392
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/network-handlers/ripple-handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,14 +148,15 @@ export class RippleHandler {
}
}

async setupVault(uuid: string, userAddress: string): Promise<string> {
async setupVault(uuid: string, userAddress: string, timeStamp: number): Promise<string> {
if (!this.client.isConnected()) {
await this.client.connect();
}
try {
const newVault = buildDefaultNftVault();
newVault.uuid = uuid;
newVault.creator = userAddress;
newVault.timestamp = BigNumber.from(timeStamp);
return await this.mintNFT(newVault);
} catch (error) {
throw new RippleError(`Could not setup Ripple Vault: ${error}`);
Expand Down

0 comments on commit d072392

Please sign in to comment.