We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b471c37 commit d1c381eCopy full SHA for d1c381e
src/pegout/components/PegoutOption.vue
@@ -165,7 +165,7 @@ export default defineComponent({
165
setup(props) {
166
const environmentContext = EnvironmentContextProviderService.getEnvironmentContext();
167
const session = useState<SessionState>('web3Session');
168
- const bitcoinPrice = useStateAttribute<number>('web3Session', 'bitcoinPrice');
+ const bitcoinPrice = useStateAttribute<number>('pegOutTx', 'bitcoinPrice');
169
const setBtcAddress = useAction('flyoverPegout', constants.FLYOVER_PEGOUT_ADD_BTC_ADDRESS);
170
const fixedUSDDecimals = 2;
171
const btcAddress = ref('');
0 commit comments