File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " @witnet/solidity" ,
3- "version" : " 3.1.0 " ,
3+ "version" : " 3.1.1 " ,
44 "description" : " Wit/Oracle Solidity Framework for EVM-compatible chains" ,
55 "author" :
" Witnet Foundation <[email protected] >" ,
66 "license" : " MIT" ,
Original file line number Diff line number Diff line change @@ -303,12 +303,13 @@ export function abiEncodeWitOracleQueryParams(queryParams: WitOracleQueryParams)
303303export function abiEncodeRadonAsset ( asset : any ) : any {
304304 if ( asset instanceof Witnet . Radon . RadonRetrieval ) {
305305 return [
306- asset . url || "" , [
306+ asset . url || "" ,
307+ [
307308 asset . method ,
308309 asset . body || "" ,
309310 asset ?. headers ? Object . entries ( asset . headers ) : [ ] ,
310311 abiEncodeRadonAsset ( asset . script ) || "0x80" ,
311- ]
312+ ] ,
312313 ] ;
313314 } else if ( asset instanceof Witnet . Radon . types . RadonScript ) {
314315 return asset . toBytecode ( ) ;
You can’t perform that action at this time.
0 commit comments