Skip to content

Commit

Permalink
fix incorrect method
Browse files Browse the repository at this point in the history
  • Loading branch information
austinkline committed Apr 7, 2024
1 parent 0a278a8 commit 41f068c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/get_price_at_phase.cdc
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ pub fun main(contractAddress: Address, contractName: String, dropID: UInt64, pha
let drop = container.borrowDropPublic(id: dropID)
?? panic("drop not found")

let phase = drop.borrowPhase(index: phaseIndex)
let phase = drop.borrowPhasePublic(index: phaseIndex)
return phase.getDetails().pricer.getPrice(num: numToMint, paymentTokenType: paymentTokenType, minter: minter)
}

0 comments on commit 41f068c

Please sign in to comment.