Skip to content

Commit d1c381e

Browse files
lserra-iovronaldsg20
authored andcommitted
Retrieve price from pegout store
1 parent b471c37 commit d1c381e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pegout/components/PegoutOption.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ export default defineComponent({
165165
setup(props) {
166166
const environmentContext = EnvironmentContextProviderService.getEnvironmentContext();
167167
const session = useState<SessionState>('web3Session');
168-
const bitcoinPrice = useStateAttribute<number>('web3Session', 'bitcoinPrice');
168+
const bitcoinPrice = useStateAttribute<number>('pegOutTx', 'bitcoinPrice');
169169
const setBtcAddress = useAction('flyoverPegout', constants.FLYOVER_PEGOUT_ADD_BTC_ADDRESS);
170170
const fixedUSDDecimals = 2;
171171
const btcAddress = ref('');

0 commit comments

Comments
 (0)