Skip to content

Commit

Permalink
fix: addd fee to make offer
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelTaylor3D committed Sep 8, 2022
1 parent 7f4631a commit 11c989c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/datalayer/persistance.js
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,10 @@ const getMirrors = async (storeId) => {
const makeOffer = async (offer) => {
const options = {
url: `${CONFIG.DATALAYER_URL}/make_offer`,
body: JSON.stringify(offer),
body: JSON.stringify({
...offer,
fee: _.get(CONFIG, 'DEFAULT_FEE', 1000000000 /* 1 billion mojos */),
}),
};

try {
Expand Down

0 comments on commit 11c989c

Please sign in to comment.