Skip to content

Commit

Permalink
fix(rad2sol): put the query bytecode into the Solidity contract
Browse files Browse the repository at this point in the history
fix #83
  • Loading branch information
aesedepece committed May 24, 2023
1 parent 9731d8c commit ab2db6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/rad2sol/steps.js
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ import "witnet-solidity-bridge/contracts/requests/WitnetRequestInitializableBase
// The bytecode of the ${contractName} query that will be sent to Witnet
contract ${contractName}Request is WitnetRequestInitializableBase {
function initialize() public {
WitnetRequestInitializableBase.initialize(hex"${query.hex}");
WitnetRequestInitializableBase.initialize(hex"${query}");
}
}
`
Expand Down

0 comments on commit ab2db6c

Please sign in to comment.