Skip to content

Commit

Permalink
remove print
Browse files Browse the repository at this point in the history
  • Loading branch information
Funkatronics committed Jun 13, 2024
1 parent c3e47ce commit 6e897d6
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ class ProgramDerivedAddress private constructor(bytes: ByteArray, val nonce: UBy
@JvmStatic
suspend fun find(seeds: List<ByteArray>, programId: PublicKey): Result<ProgramDerivedAddress> {
for (bump in 255 downTo 0) {
println(bump)
val result = Program.createDerivedAddress(seeds + byteArrayOf(bump.toByte()), programId)
if (result.isSuccess) return result.map { ProgramDerivedAddress(it, bump.toUByte()) }
}
Expand Down

0 comments on commit 6e897d6

Please sign in to comment.