Skip to content

Commit

Permalink
Bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
DogLooksGood committed Jan 30, 2025
1 parent b0b1ec9 commit 6b7e9ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/sdk-sui/src/sui-transport.ts
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ export class SuiTransport implements ITransport {

const exist = await this.getPlayerProfile(wallet.walletAddr)

if (!exist) {
if (exist) {
throw new Error('Player profile already exists')
}
const transaction = new Transaction()
Expand Down

0 comments on commit 6b7e9ca

Please sign in to comment.