Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions gasstation/src/main/java/com/altude/gasstation/Altude.kt
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ object Altude {

val res = service.createSchema(request).await()
val txResponse = deCodeJson<TransactionResponse>(res)
val attester = SdkConfig.currentSigner?.publicKey
val attester = (signer ?: SdkConfig.currentSigner)?.publicKey
val schemaId = attester?.let {
AttestationProgram.deriveSchemaAddress(it, option.name).toBase58()
} ?: ""
Expand Down Expand Up @@ -394,7 +394,7 @@ object Altude {

val res = service.attest(request).await()
val txResponse = deCodeJson<TransactionResponse>(res)
val attester = SdkConfig.currentSigner?.publicKey
val attester = (signer ?: SdkConfig.currentSigner)?.publicKey
val schemaPda = foundation.metaplex.solanapublickeys.PublicKey(option.schemaId)
val recipientKey = if (option.recipient.isBlank()) attester
else foundation.metaplex.solanapublickeys.PublicKey(option.recipient)
Expand Down